[MIRROR] Fixes linda heat capacity errors [MDB IGNORE] (#16445)

* Fixes linda heat capacity errors (#70071)

We make the assumption that a turf's heat capacity will never be 0. This is safe because we've got an override of /datum/gas_mixture for turfs that overrides 0 heat cap with 7000 (SPACE)
This is done to make cold actually flow through empty tiles, because we are hacks.

I forgot to include type in my gas mixture creation logic, so this was being dropped. FIXXXX

* Fixes linda heat capacity errors

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-09-26 14:13:24 +02:00
committed by GitHub
parent 31d925a31d
commit 4734ca7490
4 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
if(F.blocks_air)
//skip walls
continue
var/datum/gas_mixture/GM = SSair.parse_gas_string(F.initial_gas_mix)
var/datum/gas_mixture/GM = SSair.parse_gas_string(F.initial_gas_mix, /datum/gas_mixture/turf)
F.copy_air(GM)
F.update_visuals()