From c8ea42f8f7141eca18fd831e5371e6d1be434d48 Mon Sep 17 00:00:00 2001 From: Krausus Date: Fri, 29 May 2015 04:40:17 -0400 Subject: [PATCH 1/2] Fixes tiles not updating their air when deleted Also, reverts a workaround that was necessary to compensate for this bug. --- code/game/turfs/turf.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/turfs/turf.dm b/code/game/turfs/turf.dm index edbdd753ab7..a8fdfaeebd9 100644 --- a/code/game/turfs/turf.dm +++ b/code/game/turfs/turf.dm @@ -39,7 +39,7 @@ return // Adds the adjacent turfs to the current atmos processing -/turf/Destroy() +/turf/Del() if(air_master) for(var/direction in cardinal) if(atmos_adjacent_turfs & direction) @@ -254,7 +254,7 @@ lighting_clear_overlays() W.levelupdate() - W.air_update_turf(1) + W.CalculateAdjacentTurfs() return W //////Assimilate Air////// From 778f928e6b8d62eaddfce1c10323d7b5a411b352 Mon Sep 17 00:00:00 2001 From: Krausus Date: Fri, 29 May 2015 05:11:57 -0400 Subject: [PATCH 2/2] Fixes canisters not exciting the air when broken --- code/game/machinery/atmoalter/canister.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/game/machinery/atmoalter/canister.dm b/code/game/machinery/atmoalter/canister.dm index 29746472c85..80c4d5dfea7 100644 --- a/code/game/machinery/atmoalter/canister.dm +++ b/code/game/machinery/atmoalter/canister.dm @@ -252,6 +252,7 @@ update_flag if (src.health <= 10) var/atom/location = src.loc location.assume_air(air_contents) + air_update_turf() src.destroyed = 1 playsound(src.loc, 'sound/effects/spray.ogg', 10, 1, -3)