Tick Client 10 times a second, makes thumbnails appear way faster
This commit is contained in:
parent
772148900e
commit
3bb75ca951
@ -521,9 +521,8 @@ void EngineProcess()
|
|||||||
engine->SetFps(1000.0 / correctedFrameTimeAvg);
|
engine->SetFps(1000.0 / correctedFrameTimeAvg);
|
||||||
lastFpsUpdate = frameStart;
|
lastFpsUpdate = frameStart;
|
||||||
}
|
}
|
||||||
if (frameStart - lastTick > 1000)
|
if (frameStart - lastTick > 100)
|
||||||
{
|
{
|
||||||
//Run client tick every second
|
|
||||||
lastTick = frameStart;
|
lastTick = frameStart;
|
||||||
Client::Ref().Tick();
|
Client::Ref().Tick();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user