From bef305dff1d5b05e8199f9e0687e8f0e8b1c7835 Mon Sep 17 00:00:00 2001 From: mwerezak Date: Sat, 13 Dec 2014 19:50:12 -0500 Subject: [PATCH] Fixes handle_organs() being called twice in Life() --- code/modules/mob/living/carbon/human/life.dm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index 18ccba8c0a..bbc4acc0b9 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -95,8 +95,10 @@ //Disabilities handle_disabilities() - //Organ failure. + //Organs and blood handle_organs() + handle_blood() + stabilize_body_temperature() //Body temperature adjusts itself (self-regulation) //Random events (vomiting etc) handle_random_events() @@ -1096,10 +1098,6 @@ silent = 0 else //ALIVE. LIGHTS ARE ON updatehealth() //TODO - if(!in_stasis) - stabilize_body_temperature() //Body temperature adjusts itself - handle_organs() //Optimized. - handle_blood() if(health <= config.health_threshold_dead || (species.has_organ["brain"] && !has_brain())) death()