From 5df5ba8050f52e0b06c896d85fae7e4ce20139e4 Mon Sep 17 00:00:00 2001 From: Reo Lozzot <84661000+ReoDaProtovali@users.noreply.github.com> Date: Sat, 8 Nov 2025 13:34:09 -0600 Subject: [PATCH] Fixes vorebelly temperatures ignoring prefs (#18749) * Get Real * Saferer body temperatures --- code/modules/mob/living/carbon/human/life.dm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index d808821f89..c1280eb701 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -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