From c88d687eaa61fec68695055cd72cf9362c67bd12 Mon Sep 17 00:00:00 2001 From: SandPoot Date: Tue, 19 Jul 2022 21:10:06 -0300 Subject: [PATCH] fix and remove unused proc --- code/modules/mob/living/blood.dm | 21 --------------------- code/modules/mob/living/carbon/life.dm | 2 +- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/code/modules/mob/living/blood.dm b/code/modules/mob/living/blood.dm index c287dbc3dd..8d5bd40acc 100644 --- a/code/modules/mob/living/blood.dm +++ b/code/modules/mob/living/blood.dm @@ -372,27 +372,6 @@ if(!B) B = new(T) -//This is a terrible way of handling it. -/mob/living/proc/ResetBloodVol() - if(ishuman(src)) - var/mob/living/carbon/human/H = src - if (HAS_TRAIT(src, TRAIT_HIGH_BLOOD)) - blood_ratio = 1.2 - H.handle_blood(delta_time, times_fired) - return - blood_ratio = 1 - H.handle_blood(delta_time, times_fired) - return - blood_ratio = 1 - -/mob/living/proc/AdjustBloodVol(value) - if(blood_ratio == value) - return - blood_ratio = value - if(ishuman(src)) - var/mob/living/carbon/human/H = src - H.handle_blood(delta_time, times_fired) - /mob/living/proc/adjust_integration_blood(value, remove_actual_blood, force) if(integrating_blood + value < 0 && remove_actual_blood) blood_volume += value + integrating_blood diff --git a/code/modules/mob/living/carbon/life.dm b/code/modules/mob/living/carbon/life.dm index 9ba2eb6bf7..3d68d040e9 100644 --- a/code/modules/mob/living/carbon/life.dm +++ b/code/modules/mob/living/carbon/life.dm @@ -9,7 +9,7 @@ . = FALSE if(!.) return - handle_blood(delta_time, times_fired) + handle_blood(seconds, times_fired) // handle_blood *could* kill us. // we should probably have a better system for if we need to check for death or something in the future hmw if(stat != DEAD)