Fix reinforced window not updating atmos

Fixes situation when properly anchored window still leaks air
causing phantom depressurization
This commit is contained in:
Simon Ogorodnik
2021-05-21 22:12:20 +03:00
committed by Bizzonium
parent 51809f7305
commit a886039f22
+1
View File
@@ -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, "<span class='notice'>You [anchored ? "fasten the frame to":"unfasten the frame from"] the floor.</span>")