mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
[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:
co-authored by
GoldenAlpharex
parent
2e2e8fa171
commit
efa1d383ce
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user