From efa1d383ceb3d72fa1aee74df3d420ca1c4422d7 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 30 Oct 2021 02:27:04 +0100 Subject: [PATCH] =?UTF-8?q?[MIRROR]=20[FUCK]=C2=A0Fixes=20wires=20not=20be?= =?UTF-8?q?ing=20placeable=20[MDB=20IGNORE]=20(#9140)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fixes wires not being placeable (#62455) So, uh, well, basically, the condition was checking for something that was true in BYOND's terms when it shouldn't've been. Whoops! We all love working power, don't we? Fixes #62446 (Not being able to place cables at all) * [FUCK] Fixes wires not being placeable Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> --- code/modules/power/cable.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/power/cable.dm b/code/modules/power/cable.dm index 665e3aacd39..d3e4108d04e 100644 --- a/code/modules/power/cable.dm +++ b/code/modules/power/cable.dm @@ -567,7 +567,7 @@ GLOBAL_LIST_INIT(wire_node_generating_types, typecacheof(list(/obj/structure/gri if(!isturf(user.loc)) return - if(!isturf(T) || T.underfloor_accessibility || !T.can_have_cabling()) + if(!isturf(T) || T.underfloor_accessibility < UNDERFLOOR_INTERACTABLE || !T.can_have_cabling()) to_chat(user, span_warning("You can only lay cables on catwalks and plating!")) return