From d0451037449a5f8d08b35b4d2891981c5c6aa9a4 Mon Sep 17 00:00:00 2001 From: LetterJay Date: Tue, 12 Sep 2017 00:48:22 -0500 Subject: [PATCH] Update life.dm --- code/modules/mob/living/carbon/life.dm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/code/modules/mob/living/carbon/life.dm b/code/modules/mob/living/carbon/life.dm index 4f6e28ebf2..9065ceb30a 100644 --- a/code/modules/mob/living/carbon/life.dm +++ b/code/modules/mob/living/carbon/life.dm @@ -65,11 +65,11 @@ else if(health <= HEALTH_THRESHOLD_CRIT) losebreath += 0.25 //You're having trouble breathing in soft crit, so you'll miss a breath one in four times - //Suffocate + //Suffocate if(losebreath >= 1) //You've missed a breath, take oxy damage losebreath-- - if(prob(10)) - emote("gasp") + if(prob(10)) + emote("gasp") if(istype(loc, /obj/)) var/obj/loc_as_obj = loc loc_as_obj.handle_internal_lifeform(src,0) @@ -117,9 +117,7 @@ loc_as_obj.handle_internal_lifeform(src,0) if(!breath || (breath.total_moles() == 0) || !lungs) if(reagents.has_reagent("epinephrine") && lungs) return - var/oxy_loss = min(losebreath, 1) - adjustOxyLoss(oxy_loss) - losebreath -= oxy_loss + adjustOxyLoss(1) failed_last_breath = 1 throw_alert("not_enough_oxy", /obj/screen/alert/not_enough_oxy) return 0