This commit is contained in:
Shoghi Cervantes 2014-09-05 09:02:45 +02:00
parent f140fef52d
commit 020351e20f

View File

@ -2061,7 +2061,7 @@ class Server{
TimingsHandler::tick();
$updateTime = $tickTime - $this->tickTime;
$updateTime = max(0.01, $tickTime - $this->tickTime);
array_shift($this->tickAverage);
$this->tickAverage[] = 1 / $updateTime;