mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 10:11:09 +00:00
Fixes the atmos subsystem locking up on rare occasions (#56556)
This commit is contained in:
@@ -94,6 +94,8 @@ SUBSYSTEM_DEF(air)
|
||||
var/list/pipenet_rebuilds = pipenets_needing_rebuilt
|
||||
for(var/thing in pipenet_rebuilds)
|
||||
var/obj/machinery/atmospherics/AT = thing
|
||||
if(!thing) //If a null somehow shows up here, this next line runtimes and the subsystem dies
|
||||
continue
|
||||
AT.build_network()
|
||||
cached_cost += TICK_USAGE_REAL - timer
|
||||
pipenets_needing_rebuilt.Cut()
|
||||
|
||||
Reference in New Issue
Block a user