From 0ff2e0cee508041a435e770ab8dadfc750b5f137 Mon Sep 17 00:00:00 2001 From: Artur Date: Tue, 10 Aug 2021 15:00:12 +0300 Subject: [PATCH] makes the amount of integrated_blood lost equal to the blood_volume gained --- code/modules/mob/living/blood.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/blood.dm b/code/modules/mob/living/blood.dm index c9dc42835b..6c1346ddeb 100644 --- a/code/modules/mob/living/blood.dm +++ b/code/modules/mob/living/blood.dm @@ -41,9 +41,10 @@ if(bodytemperature >= TCRYO && !(HAS_TRAIT(src, TRAIT_HUSK))) //cryosleep or husked people do not pump the blood. if(integrating_blood > 0) var/integrated_blood = max(integrating_blood - 1, 0) + var/blood_diff = integrating_blood - integrated_blood integrating_blood = integrated_blood if(blood_volume < BLOOD_VOLUME_MAXIMUM) - blood_volume ++ + blood_volume += blood_diff if(blood_volume < BLOOD_VOLUME_NORMAL) var/nutrition_ratio = 0 if(!HAS_TRAIT(src, TRAIT_NOHUNGER))