Update estimation every 500ms
This commit is contained in:
parent
bfa68c45c0
commit
777beb278e
@ -64,7 +64,7 @@ namespace Components
|
|||||||
static int lastCalc = 0;
|
static int lastCalc = 0;
|
||||||
static double mseconds = 0;
|
static double mseconds = 0;
|
||||||
|
|
||||||
if (!lastCalc || (Game::Com_Milliseconds() - lastCalc) > 1000)
|
if (!lastCalc || (Game::Com_Milliseconds() - lastCalc) > 500)
|
||||||
{
|
{
|
||||||
lastCalc = Game::Com_Milliseconds();
|
lastCalc = Game::Com_Milliseconds();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user