mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
Merge pull request #14813 from tgstation/duncathan-patch-2
Fixes asteroid turfs releasing air after being mined
This commit is contained in:
@@ -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"
|
||||
icon_state = "icerock"
|
||||
|
||||
Reference in New Issue
Block a user