From 5bec13742c9806e285f2064ecfadaa6e02fa5fff Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Wed, 18 Oct 2023 12:48:47 -0700 Subject: [PATCH] stops lowwall window stacking (#6085) --- code/game/objects/structures/low_wall.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/structures/low_wall.dm b/code/game/objects/structures/low_wall.dm index 86df124311b3..5bf7d9e6065f 100644 --- a/code/game/objects/structures/low_wall.dm +++ b/code/game/objects/structures/low_wall.dm @@ -145,7 +145,7 @@ GLOBAL_LIST_INIT(wallframe_typecache, typecacheof(list( return TRUE //window placing - if(istype(I,/obj/item/stack/material/glass)) + if(istype(I,/obj/item/stack/material/glass) && isnull(locate(/obj/structure/window) in loc)) var/obj/item/stack/material/ST = I if(ST.material.opacity <= 0.7) place_window(user, loc, ST, TRUE, TRUE)