Fixes supply beacons.

Just because it's not active doesn't mean you kill the process, this removes the item from processing later when it is activated.

Fixes #11925
This commit is contained in:
ccomp5950
2016-01-21 21:54:20 -05:00
parent 531dd17312
commit 7fffed2e4e
+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