Update xgm_gas_mixture.dm

This commit is contained in:
Razgriz
2020-04-09 16:47:27 -07:00
committed by GitHub
parent 1afc697252
commit 2f9ad3f3e5
+2 -2
View File
@@ -420,10 +420,10 @@
if(full_heat_capacity + s_full_heat_capacity)
temp_avg = (temperature * full_heat_capacity + other.temperature * s_full_heat_capacity) / (full_heat_capacity + s_full_heat_capacity)
//WOOT WOOT TOUCH THIS AND YOU ARE A RETARD.
//WOOT WOOT TOUCH THIS AND YOU ARE A dumb.
if(sharing_lookup_table.len >= connecting_tiles) //6 or more interconnecting tiles will max at 42% of air moved per tick.
ratio = sharing_lookup_table[connecting_tiles]
//WOOT WOOT TOUCH THIS AND YOU ARE A RETARD
//WOOT WOOT TOUCH THIS AND YOU ARE A dumb
for(var/g in avg_gas)
gas[g] = max(0, (gas[g] - avg_gas[g]) * (1 - ratio) + avg_gas[g])