Skip to content

Commit

Permalink
The revival policy message now only displays when you're actually rev…
Browse files Browse the repository at this point in the history
…ived
  • Loading branch information
Absolucy committed Apr 1, 2024
1 parent f789aba commit 50c8ddc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions monkestation/code/modules/mob/living/carbon/carbon_death.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
return ..()

/mob/living/carbon/revive(full_heal_flags, excess_healing, force_grab_ghost)
var/old_stat = stat
. = ..()
var/policy = get_policy(POLICY_REVIVAL)
if(policy)
to_chat(src, policy)
if(old_stat != DEAD)
var/policy = get_policy(POLICY_REVIVAL)
if(policy)
to_chat(src, policy)

0 comments on commit 50c8ddc

Please sign in to comment.