Skip to content

Commit

Permalink
Update monkestation/code/modules/divine_warning/code/effects.dm
Browse files Browse the repository at this point in the history
Co-authored-by: Lucy <[email protected]>
  • Loading branch information
flleeppyy and Absolucy authored Sep 20, 2024
1 parent bc8c191 commit a857a03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion monkestation/code/modules/divine_warning/code/effects.dm
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@

/mob/living/death(gibbed)
. = ..()
if (!client || !src.mind || stat == DEAD) return
if (QDELETED(client) || stat == DEAD)
return

if (HAS_TRAIT(src, TRAIT_SPIRITUAL) || src.mind.holy_role)
SEND_SOUND(src, sound('monkestation/code/modules/divine_warning/sounds/divine.ogg', 80))
Expand Down

0 comments on commit a857a03

Please sign in to comment.