Merge pull request #12021 from Ccomp5950/supply_beacon

Fixes supply beacons.
This commit is contained in:
Chinsky
2016-01-22 06:32:08 +03:00
+3 -1
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