From 28f55e6ff0b758a4b2ece7dcb646b3ba4c02e942 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 12 Dec 2020 18:25:20 +0100 Subject: [PATCH] [MIRROR] [Port] Sanitizes layer manifolds SetInitDirections() (#2145) * manifolds (#55455) * [Port] Sanitizes layer manifolds SetInitDirections() Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com> --- code/modules/atmospherics/machinery/pipes/layermanifold.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/atmospherics/machinery/pipes/layermanifold.dm b/code/modules/atmospherics/machinery/pipes/layermanifold.dm index 6fab00ad7c3..10ac229cd43 100644 --- a/code/modules/atmospherics/machinery/pipes/layermanifold.dm +++ b/code/modules/atmospherics/machinery/pipes/layermanifold.dm @@ -70,9 +70,9 @@ /obj/machinery/atmospherics/pipe/layer_manifold/SetInitDirections() switch(dir) - if(NORTH || SOUTH) + if(NORTH, SOUTH) initialize_directions = NORTH|SOUTH - if(EAST || WEST) + if(EAST, WEST) initialize_directions = EAST|WEST /obj/machinery/atmospherics/pipe/layer_manifold/isConnectable(obj/machinery/atmospherics/target, given_layer)