Merge pull request #15815 from datlo/heat-resist-fix

Make the heat resistance trait fully fireproof
This commit is contained in:
Fox McCloud
2021-05-15 10:37:34 -04:00
committed by GitHub
@@ -365,6 +365,9 @@
bodytemperature += (BODYTEMP_HEATING_MAX + (fire_stacks * 12))
/mob/living/carbon/human/proc/get_thermal_protection()
if(HAS_TRAIT(src, TRAIT_RESISTHEAT))
return FIRE_IMMUNITY_MAX_TEMP_PROTECT
var/thermal_protection = 0 //Simple check to estimate how protected we are against multiple temperatures
if(wear_suit)
if(wear_suit.max_heat_protection_temperature >= FIRE_SUIT_MAX_TEMP_PROTECT)