fix and remove unused proc

This commit is contained in:
SandPoot
2022-07-19 21:10:06 -03:00
parent 665f467b2f
commit c88d687eaa
2 changed files with 1 additions and 22 deletions

View File

@@ -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

View File

@@ -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)