Merge pull request #854 from Datraen/BayCherryPickTest

Fixes supply beacons. (#849)
This commit is contained in:
Zuhayr
2016-01-26 05:28:47 +10:30

View File

@@ -100,8 +100,10 @@
..()
/obj/machinery/power/supply_beacon/process()
if(!use_power || expended)
if(expended)
return PROCESS_KILL
if(!use_power)
return
if(draw_power(500) < 500)
deactivate()
return