From 606f403c5be093bcb9aad4cced9022f3b76e9d3e Mon Sep 17 00:00:00 2001 From: kevinz000 <2003111+kevinz000@users.noreply.github.com> Date: Sat, 25 Nov 2017 11:27:11 -0800 Subject: [PATCH 1/2] Fixes cryo rotation (#32992) --- .../machinery/components/unary_devices/cryo.dm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm b/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm index b395dad6bd..a7123dd97b 100644 --- a/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm +++ b/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm @@ -407,4 +407,20 @@ return G.temperature return ..() +/obj/machinery/atmospherics/components/unary/cryo_cell/default_change_direction_wrench(mob/user, obj/item/wrench/W) + . = ..() + if(.) + SetInitDirections() + var/obj/machinery/atmospherics/node = NODE1 + if(node) + node.disconnect(src) + NODE1 = null + nullifyPipenet(PARENT1) + atmosinit() + node = NODE1 + if(node) + node.atmosinit() + node.addMember(src) + build_network() + #undef CRYOMOBS