From 3bb75ca95129bbb9ce24a3ebc3b91e8d055a6335 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 3 Mar 2019 23:47:54 -0500 Subject: [PATCH] Tick Client 10 times a second, makes thumbnails appear way faster --- src/PowderToySDL.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/PowderToySDL.cpp b/src/PowderToySDL.cpp index 47843a363..3191588a0 100644 --- a/src/PowderToySDL.cpp +++ b/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(); }