Merge pull request #16056 from Bizzonium/fixAtmosLeak

Fix air leak through reinforced window that not updating atmos
This commit is contained in:
Fox McCloud
2021-05-26 16:41:12 -04:00
committed by GitHub
+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>")