From 1ba045e5f59f4495f517b29e0e273bdde93b23bf Mon Sep 17 00:00:00 2001 From: AnturK Date: Tue, 24 Apr 2018 16:58:19 +0200 Subject: [PATCH 1/2] Fixes brain tumor. Again. (#37378) --- code/modules/mob/living/brain/brain_item.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/brain/brain_item.dm b/code/modules/mob/living/brain/brain_item.dm index 3ee5abef9b..7dd6f4c614 100644 --- a/code/modules/mob/living/brain/brain_item.dm +++ b/code/modules/mob/living/brain/brain_item.dm @@ -157,7 +157,7 @@ else adjusted_amount = amount - adjusted_amount *= BRAIN_DAMAGE_INTEGRITY_MULTIPLIER + adjusted_amount = round(adjusted_amount * BRAIN_DAMAGE_INTEGRITY_MULTIPLIER,0.1) if(adjusted_amount) if(adjusted_amount >= 0.1) take_damage(adjusted_amount)