From 540b1cc0768d7d95d03eaa4080984db40f216bb4 Mon Sep 17 00:00:00 2001 From: Tkdrg Date: Wed, 11 Nov 2015 01:54:14 -0300 Subject: [PATCH] Fixes adjust_fire_stack to work with macro Clamp() Fixes #12952 --- code/modules/mob/living/living_defense.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/living_defense.dm b/code/modules/mob/living/living_defense.dm index cee4d42582c..462c2912e93 100644 --- a/code/modules/mob/living/living_defense.dm +++ b/code/modules/mob/living/living_defense.dm @@ -127,7 +127,7 @@ return /mob/living/proc/adjust_fire_stacks(add_fire_stacks) //Adjusting the amount of fire_stacks we have on person - fire_stacks = Clamp(fire_stacks + add_fire_stacks, min = -20, max = 20) + fire_stacks = Clamp(fire_stacks + add_fire_stacks, -20, 20) if(on_fire && fire_stacks <= 0) ExtinguishMob()