From fbaa84c509742b06fcb6767b2cb9db1711ae6610 Mon Sep 17 00:00:00 2001 From: mwerezak Date: Tue, 27 May 2014 02:41:12 -0400 Subject: [PATCH] More sensible oxyloss scaling --- code/modules/mob/living/carbon/human/life.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index a5a877990af..a190f0221c3 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -494,8 +494,7 @@ var/ratio = inhale_pp/safe_pressure_min // Don't fuck them up too fast (space only does HUMAN_MAX_OXYLOSS after all!) - // What's going on here? ratio will always be < 1, and HUMAN_MAX_OXYLOSS = 1... - adjustOxyLoss(min(5*(1/ratio), HUMAN_MAX_OXYLOSS)) + adjustOxyLoss(min(5*(1 - ratio), HUMAN_MAX_OXYLOSS)) failed_last_breath = 1 inhaled_gas_used = inhaling*ratio/6