Skip to content

Commit

Permalink
Update pipes.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
PsyCommando committed Jul 21, 2024
1 parent c4b906f commit 1e7ff71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/atmospherics/pipes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
update_icon()

/obj/machinery/atmospherics/pipe/Process()
if(!parent && !parent.air) //This should cut back on the overhead calling build_network thousands of times per cycle
if(!parent || !parent.air) //This should cut back on the overhead calling build_network thousands of times per cycle
..()
else if(parent.air?.compare(loc.return_air()))
update_sound(0)
Expand Down

0 comments on commit 1e7ff71

Please sign in to comment.