Tick Client 10 times a second, makes thumbnails appear way faster

This commit is contained in:
jacob1 2019-03-03 23:47:54 -05:00
parent 772148900e
commit 3bb75ca951

View File

@ -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();
} }