From 8a3dd8515ef6b654760d97630b975d8b4df9a9ac Mon Sep 17 00:00:00 2001 From: Artur Date: Wed, 5 May 2021 21:42:14 +0300 Subject: [PATCH] fixes bleeding properly --- code/modules/mob/living/blood.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/blood.dm b/code/modules/mob/living/blood.dm index 1212bd695a..e07f4df3ab 100644 --- a/code/modules/mob/living/blood.dm +++ b/code/modules/mob/living/blood.dm @@ -101,10 +101,10 @@ //Makes a blood drop, leaking amt units of blood from the mob /mob/living/carbon/proc/bleed(amt, force) var/bled = FALSE //Have we bled amnt? - if(blood_volume > amnt) + if(blood_volume > amt || force && blood_volume) blood_volume = max(blood_volume - amt, 0) bled = TRUE - if(integrating_blood > amnt) + if(integrating_blood > amt || force && integrating_blood) integrating_blood = max(integrating_blood - amt, 0) bled = TRUE if(!bled && !force) //If we are already cycling back through, don't do this again