fixes issue with the blood cap
This commit is contained in:
@@ -93,7 +93,7 @@
|
||||
// don't allow toxinlover to push blood levels past BLOOD_VOLUME_MAXIMUM, but also don't set it back down to this if it's higher from something else
|
||||
var/blood_cap = blood_volume > BLOOD_VOLUME_MAXIMUM ? blood_volume : BLOOD_VOLUME_MAXIMUM
|
||||
if(amount > 0)
|
||||
blood_volume blood_volume - min((3 * amount), blood_cap) //5x was too much, this is punishing enough.
|
||||
blood_volume = min((blood_volume - (3 * amount)), blood_cap) //5x was too much, this is punishing enough.
|
||||
else
|
||||
blood_volume = min((blood_volume - amount), blood_cap)
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user