Skip to content

Commit

Permalink
round it to be safe
Browse files Browse the repository at this point in the history
  • Loading branch information
larentoun committed Jul 15, 2024
1 parent 9d67691 commit 9efee46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modular_bandastation/balance/code/balance_riding.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 9efee46

Please sign in to comment.