Lets you enter fakedeath when dead (#76666)

## About The Pull Request

Fixes #76665

`fakedeath` early returned if the mob was dead, I guess it assumed if
you were dead dead you wouldn't want to become fake dead as well

I removed that because it's definitely a valid use case, in my eyes,
that you would be able to apply the fakedeath traits to a mob who is
dead, for the event they are revived at some point (to still appear
dead)

## Why It's Good For The Game

Lings rely on this

## Changelog

🆑 Melbert
fix: Fix ling revival for full-dead lings
/🆑
This commit is contained in:
MrMelbert
2023-07-10 03:37:25 -05:00
committed by GitHub
parent 5757652f0f
commit 0e85aa3220
5 changed files with 37 additions and 20 deletions
@@ -384,10 +384,11 @@
/datum/symptom/heal/coma/proc/coma(mob/living/M)
if(QDELETED(M) || M.stat == DEAD)
return
M.fakedeath("regenerative_coma", !deathgasp)
addtimer(CALLBACK(src, PROC_REF(uncoma), M), 300)
/datum/symptom/heal/coma/proc/uncoma(mob/living/M)
if(QDELETED(M) || !active_coma)
return