readd deathgasping to human/borgs

This commit is contained in:
datlo
2019-01-20 12:22:09 +00:00
parent 1c0e03532a
commit fffe211c8f
2 changed files with 6 additions and 0 deletions
@@ -92,6 +92,9 @@
return TRUE
/mob/living/carbon/human/death(gibbed)
if(can_die() && !gibbed && deathgasp_on_death)
emote("deathgasp") //let the world KNOW WE ARE DEAD
// Only execute the below if we successfully died
. = ..(gibbed)
if(!.)
@@ -49,6 +49,9 @@
/mob/living/silicon/robot/death(gibbed)
if(can_die())
if(!gibbed && deathgasp_on_death)
emote("deathgasp")
if(module)
module.handle_death(gibbed)