BEHOLD MY POWERS OVER LIFE AND DEATH

(ports over the fix for infinite death when bleeding,
and updating your health doll when you come back from the dead)
This commit is contained in:
Crazylemon64
2016-08-31 11:02:54 -07:00
parent 52a9a69509
commit 9f4d43b080
2 changed files with 11 additions and 4 deletions
@@ -142,6 +142,13 @@
return ..(gibbed)
/mob/living/carbon/human/update_revive()
..()
// Update healthdoll
if(healthdoll)
// We're alive again, so re-build the entire healthdoll
healthdoll.cached_healthdoll_overlays.Cut()
/mob/living/carbon/human/proc/makeSkeleton()
var/obj/item/organ/external/head/H = get_organ("head")
if(SKELETON in src.mutations) return
+4 -4
View File
@@ -803,10 +803,6 @@
if(REGEN in mutations)
heal_overall_damage(0.1, 0.1)
if(!in_stasis)
handle_organs()
handle_blood()
if(paralysis)
blinded = 1
stat = UNCONSCIOUS
@@ -893,6 +889,10 @@
if(gloves && germ_level > gloves.germ_level && prob(10))
gloves.germ_level += 1
if(!in_stasis)
handle_organs()
handle_blood()
else //dead
blinded = 1