mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-29 02:40:47 +02:00
Tick Client 10 times a second, makes thumbnails appear way faster
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user