mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 00:53:23 +01:00
Quick fixes for my last commit.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2961 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -16,8 +16,11 @@
|
||||
proc
|
||||
recharge()
|
||||
if(stat & BROKEN) return
|
||||
if(energy != max_energy)
|
||||
energy += 4
|
||||
var/addenergy = 4
|
||||
if(energy + addenergy > energy)
|
||||
addenergy = energy - addenergy
|
||||
if(energy < max_energy)
|
||||
energy += addenergy
|
||||
use_power(2000) // This thing uses up alot of power (this is still low as shit for creating reagents from thin air)
|
||||
spawn(200) recharge()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user