From 0dd578b08a5105a20eabeac09b377712a214508f Mon Sep 17 00:00:00 2001 From: shellspeed1 <46614774+shellspeed1@users.noreply.github.com> Date: Fri, 27 Sep 2019 15:43:57 -0700 Subject: [PATCH] life updates to make stasis work --- code/modules/mob/living/carbon/human/life.dm | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index 1af9dbc5..0a325859 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -28,21 +28,22 @@ if (QDELETED(src)) return 0 - if(.) //not dead - handle_active_genes() + if(!IsInStasis()) + if(.) //not dead + handle_active_genes() - if(stat != DEAD) - //heart attack stuff - handle_heart() + if(stat != DEAD) + //heart attack stuff + handle_heart() - if(stat != DEAD) - //Stuff jammed in your limbs hurts - handle_embedded_objects() + if(stat != DEAD) + //Stuff jammed in your limbs hurts + handle_embedded_objects() + dna.species.spec_life(src) // for mutantraces //Update our name based on whether our face is obscured/disfigured name = get_visible_name() - dna.species.spec_life(src) // for mutantraces if(stat != DEAD) return 1