[MIRROR] [FUCK] Fixes wires not being placeable [MDB IGNORE] (#9140)

* 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>
This commit is contained in:
SkyratBot
2021-10-30 02:27:04 +01:00
committed by GitHub
co-authored by GoldenAlpharex
parent 2e2e8fa171
commit efa1d383ce
+1 -1
View File
@@ -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