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