Fixes Chemthrower Fire Burning Mobs That Don't Care About Fire (#31316)

* fire

* Update fire_effect.dm
This commit is contained in:
CRUNCH
2025-12-19 13:10:59 +00:00
committed by GitHub
parent 424af8e3e3
commit d360ca18cc
2 changed files with 3 additions and 1 deletions
@@ -115,8 +115,9 @@ GLOBAL_LIST_EMPTY(flame_effects)
merging_flame.fizzle()
/obj/effect/fire/proc/damage_mob(mob/living/mob_to_burn)
if(!istype(mob_to_burn))
if(!istype(mob_to_burn) || HAS_TRAIT(mob_to_burn, TRAIT_RESISTHEAT))
return
var/fire_damage = temperature / 100
if(ishuman(mob_to_burn))
var/mob/living/carbon/human/human_to_burn = mob_to_burn