From 548ad9a5cadfd22444f30152676a12bd31099130 Mon Sep 17 00:00:00 2001 From: Markolie Date: Tue, 13 Jan 2015 02:48:42 +0100 Subject: [PATCH] Defib/IPC fix? --- code/modules/mob/living/carbon/human/human_damage.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/human_damage.dm b/code/modules/mob/living/carbon/human/human_damage.dm index 38452646b50..60b7f58c605 100644 --- a/code/modules/mob/living/carbon/human/human_damage.dm +++ b/code/modules/mob/living/carbon/human/human_damage.dm @@ -17,6 +17,7 @@ var/datum/organ/external/H = organs_by_name["head"] if (!H.amputated) if ((health >= (config.health_threshold_dead/100*75)) && stat == DEAD) //need to get them 25% away from death point before reviving them + living_mob_list -= src mob_list -= src dead_mob_list -= src living_mob_list += src @@ -24,13 +25,16 @@ stat = CONSCIOUS ear_deaf = 0 tod = 0 + timeofdeath = 0 if (stat == CONSCIOUS && (src in dead_mob_list)) //Defib fix + living_mob_list -= src mob_list -= src dead_mob_list -= src living_mob_list += src - mob_list += src + mob_list += src ear_deaf = 0 tod = 0 + timeofdeath = 0 return /mob/living/carbon/human/getBrainLoss()