Fixes vorebelly temperatures ignoring prefs (#18749)

* Get Real

* Saferer body temperatures
This commit is contained in:
Reo Lozzot
2025-11-08 13:34:09 -06:00
committed by GitHub
parent f951d92300
commit 5df5ba8050
+8 -4
View File
@@ -842,12 +842,13 @@
/mob/living/carbon/human/handle_environment(datum/gas_mixture/environment)
if(!environment)
return
if(is_incorporeal()) //Not in this plane of existance right now, tbh.
return
//Stuff like the xenomorph's plasma regen happens here.
species.handle_environment_special(src)
if(is_incorporeal())
return
//Moved pressure calculations here for use in skip-processing check.
var/pressure = environment.return_pressure()
var/adjusted_pressure = calculate_affecting_pressure(pressure)
@@ -875,7 +876,10 @@
loc_temp = cc.air_contents.temperature
else if(isbelly(loc))
var/obj/belly/b = loc
loc_temp = b.bellytemperature
if(allowtemp)
loc_temp = b.bellytemperature
else
loc_temp = species.body_temperature //Should be safe for just about anyone
else
loc_temp = environment.temperature