From c29a3b1885963294451941155be6bb0f273d0036 Mon Sep 17 00:00:00 2001 From: QualityVan Date: Sat, 1 Apr 2017 21:17:21 -0400 Subject: [PATCH] Fixes suffocation damage ratio for low ox --- code/modules/mob/living/carbon/life.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/life.dm b/code/modules/mob/living/carbon/life.dm index 7913c3a385c..c81ca65c5d7 100644 --- a/code/modules/mob/living/carbon/life.dm +++ b/code/modules/mob/living/carbon/life.dm @@ -130,7 +130,7 @@ if(prob(20)) emote("gasp") if(O2_partialpressure > 0) - var/ratio = safe_oxy_min/O2_partialpressure + var/ratio = 1 - O2_partialpressure/safe_oxy_min adjustOxyLoss(min(5*ratio, 3)) failed_last_breath = 1 oxygen_used = breath_gases["o2"][MOLES]*ratio