Skip to content

Commit

Permalink
fix fire overlay bug (#955)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kapu1178 authored May 24, 2024
1 parent b9d3504 commit cc316ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/modules/mob/living/living.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1283,9 +1283,9 @@ GLOBAL_LIST_EMPTY(fire_appearances)
return fire_status.ignite()

/mob/living/proc/update_fire()
var/datum/status_effect/fire_handler/fire_handler = has_status_effect(/datum/status_effect/fire_handler)
if(fire_handler)
fire_handler.update_overlay()
var/datum/status_effect/fire_handler/fire_stacks/fire_stacks = has_status_effect(/datum/status_effect/fire_handler/fire_stacks)
if(fire_stacks)
fire_stacks.update_overlay()

/**
* Extinguish all fire on the mob
Expand Down

0 comments on commit cc316ae

Please sign in to comment.