Bug fix for vehicle color. Interval by FPS

This commit is contained in:
EntenKoeniq
2021-11-27 00:26:12 +01:00
parent 5c7e7f45a0
commit a739497328
4 changed files with 8 additions and 8 deletions

View File

@ -13,7 +13,7 @@ namespace CoopClient
public WorldThread()
{
Tick += OnTick;
Interval = 1000 / 60;
Interval = (int)(1f / (Game.FPS > 60f ? 60f : Game.FPS) * 1000f);
Aborted += (sender, e) =>
{
if (LastDisableTraffic)