Update _movespeed_modifier.dm
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user