Skip to content

Commit

Permalink
maybe this?
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSuckerberg committed Dec 18, 2024
1 parent 3bcbfe5 commit f451c21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/controllers/subsystem/air.dm
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,7 @@ BACKGROUND_SUBSYSTEM_DEF(air)
//We operate directly with the pipeline like this because we can trust any rebuilds to remake it properly
var/datum/pipeline/linepipe = pack[SSAIR_REBUILD_PIPELINE]
var/list/border = pack[SSAIR_REBUILD_QUEUE]
expand_pipeline(linepipe, border)
if(state != SS_RUNNING) //expand_pipeline can fail a tick check, we shouldn't let things get too fucky here
if(expand_pipeline(linepipe, border)) //expand_pipeline can fail a tick check, we shouldn't let things get too fucky here
return

linepipe.building = FALSE
Expand All @@ -365,7 +364,8 @@ BACKGROUND_SUBSYSTEM_DEF(air)
if(item.parent == net)
continue
if(item.parent)
item.parent.merge(net)
border += item.parent.members
net.merge(item.parent)
continue

net.members += item
Expand Down

0 comments on commit f451c21

Please sign in to comment.