From 84f108a68ba53d2b5a86cffa37cc9a6ba35f8beb Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Wed, 20 Sep 2017 01:02:33 -0500 Subject: [PATCH] [MIRROR] Fix pipenets (#2860) * Fix pipenets * Fix pipenets --- code/modules/atmospherics/machinery/datum_pipeline.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/modules/atmospherics/machinery/datum_pipeline.dm b/code/modules/atmospherics/machinery/datum_pipeline.dm index 67b1d0d569..11a7881a98 100644 --- a/code/modules/atmospherics/machinery/datum_pipeline.dm +++ b/code/modules/atmospherics/machinery/datum_pipeline.dm @@ -5,7 +5,7 @@ var/list/obj/machinery/atmospherics/pipe/members var/list/obj/machinery/atmospherics/components/other_atmosmch - var/update = 1 + var/update = TRUE /datum/pipeline/New() other_airs = list() @@ -25,7 +25,7 @@ /datum/pipeline/process() if(update) - update = 0 + update = FALSE reconcile_air() update = air.react() @@ -114,6 +114,7 @@ other_airs.Add(E.other_airs) E.members.Cut() E.other_atmosmch.Cut() + update = TRUE qdel(E) /obj/machinery/atmospherics/proc/addMember(obj/machinery/atmospherics/A) @@ -195,7 +196,7 @@ (partial_heat_capacity*target.heat_capacity/(partial_heat_capacity+target.heat_capacity)) air.temperature -= heat/total_heat_capacity - update = 1 + update = TRUE /datum/pipeline/proc/return_air() . = other_airs + air