mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-16 21:22:40 +00:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user