Makes Pipenets Actually Rebuild and Pipes GC

This commit is contained in:
Fox McCloud
2018-04-15 04:16:09 -04:00
parent 8b576c4d42
commit 4f777d76ea
8 changed files with 19 additions and 13 deletions
@@ -67,7 +67,7 @@
update_icon()
update_underlays()
/obj/machinery/atmospherics/binary/build_network()
/obj/machinery/atmospherics/binary/build_network(remove_deferral = FALSE)
if(!parent1)
parent1 = new /datum/pipeline()
parent1.build_pipeline(src)
@@ -75,6 +75,7 @@
if(!parent2)
parent2 = new /datum/pipeline()
parent2.build_pipeline(src)
..()
/obj/machinery/atmospherics/binary/disconnect(obj/machinery/atmospherics/reference)
if(reference == node1)