From 7fc7d5888aea3f4e3c68402fcce76911e61492cf Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Sat, 18 Jul 2020 20:39:05 -0700 Subject: [PATCH] Update _movespeed_modifier.dm --- code/modules/movespeed/_movespeed_modifier.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/modules/movespeed/_movespeed_modifier.dm b/code/modules/movespeed/_movespeed_modifier.dm index a338919c4b..69fa7dba85 100644 --- a/code/modules/movespeed/_movespeed_modifier.dm +++ b/code/modules/movespeed/_movespeed_modifier.dm @@ -199,7 +199,12 @@ GLOBAL_LIST_EMPTY(movespeed_modification_cache) else continue . += amt + var/old = cached_multiplicative_slowdown // CITAEDL EDIT - To make things a bit less jarring, when in situations where + // your delay decreases, "give" the delay back to the client cached_multiplicative_slowdown = . + var/diff = old - cached_multiplicative_slowdown + if(diff > 0) + client.move_delay -= diff /// Get the move speed modifiers list of the mob /mob/proc/get_movespeed_modifiers()