Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions code/modules/reagents/chemistry/reagents/other_reagents.dm
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,9 @@
var/datum/gas_mixture/air = exposed_turf.air
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
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.
air.react(src)
qdel(hotspot)
air.react(src)
qdel(hotspot)


if(isgroundlessturf(exposed_turf) || isnoslipturf(exposed_turf))
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@
if(hotspot && !isspaceturf(exposed_turf) && exposed_turf.air)
var/datum/gas_mixture/air = exposed_turf.air
if(air.temperature > T20C)
air.temperature = max(air.temperature/2,T20C)
air.temperature = max(min(air.temperature-(cool_temp*1000), air.temperature/cool_temp),TCMB)
air.react(src)
qdel(hotspot)

Expand Down
Loading