mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
[MIRROR] Fixes the atmos subsystem locking up on rare occasions (#3182)
* Fixes the atmos subsystem locking up on rare occasions * Update air.dm Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
This commit is contained in:
co-authored by
LemonInTheDark
Gandalf2k15
parent
02571bae25
commit
ed4608a7bb
@@ -94,10 +94,8 @@ SUBSYSTEM_DEF(air)
|
||||
var/list/pipenet_rebuilds = pipenets_needing_rebuilt
|
||||
for(var/thing in pipenet_rebuilds)
|
||||
var/obj/machinery/atmospherics/AT = thing
|
||||
//SKYRAT EDIT CHANGE BEGIN - MISC
|
||||
if(!istype(AT))
|
||||
if(!thing) //If a null somehow shows up here, this next line runtimes and the subsystem dies
|
||||
continue
|
||||
//SKYRAT EDIT CHANGE BEGIN - MISC
|
||||
AT.build_network()
|
||||
cached_cost += TICK_USAGE_REAL - timer
|
||||
pipenets_needing_rebuilt.Cut()
|
||||
|
||||
Reference in New Issue
Block a user