From 7013958961c993bc40bcc178b6e252cd2b87b0c2 Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Mon, 6 Sep 2021 19:43:51 -0700 Subject: [PATCH] Update _movespeed_modifier.dm --- code/modules/movespeed/_movespeed_modifier.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/movespeed/_movespeed_modifier.dm b/code/modules/movespeed/_movespeed_modifier.dm index 3f2969b582..54991af932 100644 --- a/code/modules/movespeed/_movespeed_modifier.dm +++ b/code/modules/movespeed/_movespeed_modifier.dm @@ -67,7 +67,7 @@ Key procs return existing + multiplicative_slowdown var/current_tiles = 10 / max(existing, world.tick_lag) // multiplicative_slowdown is negative due to our first check - var/max_buff_to = max(existing + multiplicative_slowdown, 10 / absolute_max_tiles_per_second, 10 / (current_tiles + max_tiles_per_second_boos)) + var/max_buff_to = max(existing + multiplicative_slowdown, 10 / absolute_max_tiles_per_second, 10 / (current_tiles + max_tiles_per_second_boost)) // never slow the user return min(existing, max_buff_to)