From a886039f225777dfb9b616ca5ce23d5779146e5b Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Fri, 21 May 2021 22:12:20 +0300 Subject: [PATCH] Fix reinforced window not updating atmos Fixes situation when properly anchored window still leaks air causing phantom depressurization --- code/game/objects/structures/window.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/game/objects/structures/window.dm b/code/game/objects/structures/window.dm index b0d9464a0a3..b00ca22b461 100644 --- a/code/game/objects/structures/window.dm +++ b/code/game/objects/structures/window.dm @@ -243,6 +243,7 @@ if(!I.use_tool(src, user, decon_speed, volume = I.tool_volume, extra_checks = CALLBACK(src, .proc/check_state_and_anchored, state, anchored))) return anchored = !anchored + air_update_turf(TRUE) update_nearby_icons() to_chat(user, "You [anchored ? "fasten the frame to":"unfasten the frame from"] the floor.")