diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index e2a16eaacf..db0ff10881 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -1798,20 +1798,20 @@ if(..()) return - var/thermal_protection = get_heat_protection(fire_stacks * 1500) // Arbitrary but below firesuit max temp when below 20 stacks. + var/thermal_protection = get_heat_protection(fire_stacks * 1500) // Arbitrary but below firesuit max temp when below 20 stacks. - if(thermal_protection == 1) // Immune. - return - else - var/fire_temp_add = (BODYTEMP_HEATING_MAX + (fire_stacks * 15)) * (1-thermal_protection) - //This is to prevent humans from heating up indefinitely. A human being on fire (fat burns at 250C) can't magically - // increase your body temperature beyond 250C, but it's possible something else (atmos) has heated us up beyond it, - // so don't worry about the firestacks at that point. Really, we should be cooling the room down, because it has - // to expend energy to heat our body up! But let's not worry about that. - if((bodytemperature + fire_temp_add) > HUMAN_COMBUSTION_TEMP) - return + if(thermal_protection == 1) // Immune. + return + else + var/fire_temp_add = (BODYTEMP_HEATING_MAX + (fire_stacks * 15)) * (1-thermal_protection) + //This is to prevent humans from heating up indefinitely. A human being on fire (fat burns at 250C) can't magically + // increase your body temperature beyond 250C, but it's possible something else (atmos) has heated us up beyond it, + // so don't worry about the firestacks at that point. Really, we should be cooling the room down, because it has + // to expend energy to heat our body up! But let's not worry about that. + if((bodytemperature + fire_temp_add) > HUMAN_COMBUSTION_TEMP) + return - bodytemperature += fire_temp_add + bodytemperature += fire_temp_add /mob/living/carbon/human/rejuvenate() restore_blood()