Merge pull request #5512 from VOREStation/upstream-merge-6344

[MIRROR] Manifolds now obey the laws of pipes.
This commit is contained in:
Novacat
2019-07-30 20:05:42 -04:00
committed by GitHub
2 changed files with 16 additions and 0 deletions

View File

@@ -78,6 +78,14 @@
else
set_leaking(TRUE)
/obj/machinery/atmospherics/pipe/manifold/process()
if(!parent)
..()
else if(leaking)
parent.mingle_with_turf(loc, volume)
else
. = PROCESS_KILL
/obj/machinery/atmospherics/pipe/manifold/change_color(var/new_color)
..()
//for updating connected atmos device pipes (i.e. vents, manifolds, etc)

View File

@@ -76,6 +76,14 @@
else
set_leaking(TRUE)
/obj/machinery/atmospherics/pipe/manifold4w/process()
if(!parent)
..()
else if(leaking)
parent.mingle_with_turf(loc, volume)
else
. = PROCESS_KILL
/obj/machinery/atmospherics/pipe/manifold4w/change_color(var/new_color)
..()
//for updating connected atmos device pipes (i.e. vents, manifolds, etc)