mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Merge pull request #5512 from VOREStation/upstream-merge-6344
[MIRROR] Manifolds now obey the laws of pipes.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user