Skip to content

Commit

Permalink
adds forward compatability with check_fire_intensity_resistance()
Browse files Browse the repository at this point in the history
  • Loading branch information
uuuuhuuuu committed Jun 19, 2024
1 parent 1623593 commit dab978b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/_onclick/xeno.dm
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
for(var/obj/flamer_fire/fire in target_turf)
firepatted = TRUE
if(!(caste.fire_immunity & FIRE_IMMUNITY_NO_DAMAGE) || fire.tied_reagent.fire_penetrating)
apply_damage(fire.burnlevel/2, BURN,fire)
apply_damage(max(fire.burnlevel/2-check_fire_intensity_resistance() , 0), BURN,fire)
if((fire.firelevel > fire_level_to_extinguish) && (!fire.fire_variant)) //If fire_variant = 0, default fire extinguish behavior.
fire.firelevel -= fire_level_to_extinguish
fire.update_flame()
Expand Down

0 comments on commit dab978b

Please sign in to comment.