1
0

Fixed WorldTickThread reporting wrong time durations for each tick.

This had caused food eating to fail and players unable to collect pickups on Linux.
This commit is contained in:
madmaxoft
2013-08-19 22:23:25 +02:00
parent 8289ac8ba7
commit fdbe835131
2 changed files with 17 additions and 9 deletions

View File

@@ -75,7 +75,7 @@ void cServer::cTickThread::Execute(void)
{
cTimer Timer;
long long msPerTick = 50; // TODO - Put this in server config file
long long msPerTick = 50;
long long LastTime = Timer.GetNowTime();
while (!m_ShouldTerminate)