Skip to content

Commit

Permalink
stops lowwall window stacking (#6085)
Browse files Browse the repository at this point in the history
  • Loading branch information
silicons authored Oct 18, 2023
1 parent 6a77cd5 commit 5bec137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/structures/low_wall.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5bec137

Please sign in to comment.