From d8e286d7bef5b7da6a6c5d9b81836fb461703cbe Mon Sep 17 00:00:00 2001 From: lolman360 Date: Tue, 18 Aug 2020 16:17:00 +1000 Subject: [PATCH] ee --- code/game/atoms_movable.dm | 7 +++++++ code/modules/plumbing/ducts.dm | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/code/game/atoms_movable.dm b/code/game/atoms_movable.dm index 0238529195..0a6c2b9eca 100644 --- a/code/game/atoms_movable.dm +++ b/code/game/atoms_movable.dm @@ -646,3 +646,10 @@ animate(I, alpha = 175, pixel_x = to_x, pixel_y = to_y, time = 3, transform = M, easing = CUBIC_EASING) sleep(1) animate(I, alpha = 0, transform = matrix(), time = 1) + +/atom/movable/proc/set_anchored(anchorvalue) //literally only for plumbing ran + SHOULD_CALL_PARENT(TRUE) + if(anchored == anchorvalue) + return + . = anchored + anchored = anchorvalue diff --git a/code/modules/plumbing/ducts.dm b/code/modules/plumbing/ducts.dm index cb94f281db..8a27f2669c 100644 --- a/code/modules/plumbing/ducts.dm +++ b/code/modules/plumbing/ducts.dm @@ -66,7 +66,6 @@ All the important duct code: if(active) attempt_connect() - AddElement(/datum/element/undertile, TRAIT_T_RAY_VISIBLE) ///start looking around us for stuff to connect to /obj/machinery/duct/proc/attempt_connect()