Skip to content
Permalink
Browse files

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

  • Loading branch information...
jacob1 committed Mar 4, 2019
1 parent 7721489 commit 3bb75ca95129bbb9ce24a3ebc3b91e8d055a6335
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/PowderToySDL.cpp
@@ -521,9 +521,8 @@ void EngineProcess()
engine->SetFps(1000.0 / correctedFrameTimeAvg);
lastFpsUpdate = frameStart;
}
if (frameStart - lastTick > 1000)
if (frameStart - lastTick > 100)
{
//Run client tick every second
lastTick = frameStart;
Client::Ref().Tick();
}

0 comments on commit 3bb75ca

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.