Attempted defib fix

This commit is contained in:
Markolie
2014-12-23 17:25:09 +01:00
parent 74fc28e6b5
commit 328fb13704
2 changed files with 8 additions and 3 deletions
@@ -18,10 +18,13 @@
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
dead_mob_list -= src
respawnable_list -= src
living_mob_list += src
stat = CONSCIOUS
ear_deaf = 0
if (stat == CONSCIOUS && (src in dead_mob_list)) //Defib fix
dead_mob_list -= src
living_mob_list += src
ear_deaf = 0
return
/mob/living/carbon/human/getBrainLoss()