From 9efee4637d7a34eca1d0af312259c886b199d9fd Mon Sep 17 00:00:00 2001 From: larentoun <31931237+larentoun@users.noreply.github.com> Date: Mon, 15 Jul 2024 14:12:04 +0300 Subject: [PATCH] round it to be safe --- modular_bandastation/balance/code/balance_riding.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modular_bandastation/balance/code/balance_riding.dm b/modular_bandastation/balance/code/balance_riding.dm index d1843f5650a61..cc3839b54f198 100644 --- a/modular_bandastation/balance/code/balance_riding.dm +++ b/modular_bandastation/balance/code/balance_riding.dm @@ -5,7 +5,7 @@ if(. == COMPONENT_INCOMPATIBLE) return if(vehicle_move_delay == 0) - vehicle_move_delay = max(CONFIG_GET(number/movedelay/run_delay) - TG_SPEED, 0) * TG_SPEED + vehicle_move_delay = round(max(CONFIG_GET(number/movedelay/run_delay) - TG_SPEED, 0) * TG_SPEED, 0.01) return vehicle_move_delay = round(CONFIG_GET(number/movedelay/run_delay) / TG_SPEED * vehicle_move_delay, 0.01)