Skip to content

Commit a72921c

Browse files
Атмос это рак...
1 parent d7d7dd4 commit a72921c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

code/modules/reagents/chemistry/reagents/other_reagents.dm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@
141141
if(hotspot && !isspaceturf(exposed_turf)) // the water evaporates in an endothermic reaction
142142
if(exposed_turf.air)
143143
var/datum/gas_mixture/air = exposed_turf.air
144-
air.temperature = min(max(min(air.temperature-(cool_temp*1000), air.temperature/cool_temp), T0C), air.temperature) // the outer min temperature check is for weird phenomena like freon combustion
145-
exposed_turf.temperature = clamp(min(exposed_turf.temperature-(cool_temp*1000), exposed_turf.temperature/cool_temp), T20C, exposed_turf.temperature) // turfs normally don't go below T20C so I'll just clamp it to that in case of weird phenomena.
146-
air.react(src)
147-
qdel(hotspot)
144+
air.temperature = max(min(air.temperature-(cool_temp*1000), air.temperature/cool_temp),TCMB)
145+
air.react(src)
146+
qdel(hotspot)
147+
148148

149149
if(isgroundlessturf(exposed_turf) || isnoslipturf(exposed_turf))
150150
return

0 commit comments

Comments
 (0)