Update gas_mixture.dm

This commit is contained in:
LetterJay
2017-10-15 07:51:48 -05:00
committed by GitHub
parent 6e70693416
commit 243d8759c7
@@ -371,8 +371,8 @@ GLOBAL_LIST_INIT(gaslist_cache, init_gaslist_cache())
var/heat = conduction_coefficient*temperature_delta* \
(self_heat_capacity*sharer_heat_capacity/(self_heat_capacity+sharer_heat_capacity))
temperature = max(temperature + heat/self_heat_capacity, TCMB)
sharer_temperature = max(sharer_temperature - heat/sharer_heat_capacity, TCMB)
temperature = max(temperature - heat/self_heat_capacity, TCMB)
sharer_temperature = max(sharer_temperature + heat/sharer_heat_capacity, TCMB)
if(sharer)
sharer.temperature = sharer_temperature
return sharer_temperature