diff --git a/code/game/turfs/turf.dm b/code/game/turfs/turf.dm index 6026419e6fe..6cd8618d072 100644 --- a/code/game/turfs/turf.dm +++ b/code/game/turfs/turf.dm @@ -161,8 +161,8 @@ total.temperature += S.air.temperature turf_count++ + air.copy_from(total) if(turf_count) //if there weren't any open turfs, no need to update. - air.copy_from(total) var/list/air_gases = air.gases for(var/id in air_gases) air_gases[id][MOLES] /= turf_count //Averages contents of the turfs, ignoring walls and the like @@ -344,4 +344,4 @@ name = "iced rock" desc = "Extremely densely-packed sheets of ice and rock, forged over the years of the harsh cold." icon = 'icons/turf/walls.dmi' - icon_state = "icerock" \ No newline at end of file + icon_state = "icerock"