From c8ea42f8f7141eca18fd831e5371e6d1be434d48 Mon Sep 17 00:00:00 2001 From: Krausus Date: Fri, 29 May 2015 04:40:17 -0400 Subject: [PATCH] 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//////