From f16bc808e18793b20be2df23525791f0187a5d8c Mon Sep 17 00:00:00 2001 From: Qlonever <42286723+Qlonever@users.noreply.github.com> Date: Thu, 23 Nov 2023 12:43:40 +0300 Subject: [PATCH] [MIRROR] Addendum to #34339 --- code/modules/mob/living/carbon/human/human_damage.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/human_damage.dm b/code/modules/mob/living/carbon/human/human_damage.dm index 16ccf53d7aae0..1f7d1387449b5 100644 --- a/code/modules/mob/living/carbon/human/human_damage.dm +++ b/code/modules/mob/living/carbon/human/human_damage.dm @@ -153,7 +153,7 @@ /mob/living/carbon/human/setOxyLoss(amount) if (!need_breathe()) return - amount = clamp(amount, 0, 100) / 100 + amount = (clamp(amount, 0, 100) - getOxyLoss()) / 100 adjustOxyLoss(amount * species.total_health) /mob/living/carbon/human/adjustOxyLoss(amount)