mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-15 20:52:07 +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()
|
||||
if(!use_power || expended)
|
||||
if(expended)
|
||||
return PROCESS_KILL
|
||||
if(!use_power)
|
||||
return
|
||||
if(draw_power(500) < 500)
|
||||
deactivate()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user