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
committed by Datraen
parent 588e072b9d
commit 283871bfa1

View File

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