Skip to content

Commit

Permalink
[MIRROR] [Fix] Visually closing fakewalls when in fact they shouldn't…
Browse files Browse the repository at this point in the history
… be closed (#1898)

* [Fix] Visually closing fakewalls when in fact they shouldn't be closed (#81353)

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: larentoun <[email protected]>
  • Loading branch information
3 people authored Feb 9, 2024
1 parent 28b5f51 commit 08d383e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/structures/false_walls.dm
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
return

opening = TRUE
update_appearance()
if(!density)
var/srcturf = get_turf(src)
for(var/mob/living/obstacle in srcturf) //Stop people from using this as a shield
opening = FALSE
return
update_appearance()
addtimer(CALLBACK(src, TYPE_PROC_REF(/obj/structure/falsewall, toggle_open)), 5)

/obj/structure/falsewall/proc/toggle_open()
Expand Down

0 comments on commit 08d383e

Please sign in to comment.