From 283871bfa1e606d0d101551e10a176aa607d347c Mon Sep 17 00:00:00 2001 From: ccomp5950 Date: Thu, 21 Jan 2016 21:54:20 -0500 Subject: [PATCH] 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 --- code/game/machinery/supplybeacon.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/game/machinery/supplybeacon.dm b/code/game/machinery/supplybeacon.dm index 801cff3caa..7efa498d09 100644 --- a/code/game/machinery/supplybeacon.dm +++ b/code/game/machinery/supplybeacon.dm @@ -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