From bd6e3901a6627a9aea72116acc7759f79b706725 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Tue, 4 Jun 2013 11:01:59 +0200 Subject: [PATCH] More fix --- src/Player.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Player.php b/src/Player.php index dc2a8446..b14425a1 100644 --- a/src/Player.php +++ b/src/Player.php @@ -737,6 +737,7 @@ class Player{ $this->packetStats = array(0, 0); array_shift($this->bandwidthStats); $this->bandwidthStats[] = $this->bandwidthRaw / max(0.00001, microtime(true) - $this->lastMeasure); + $this->bandwidthRaw = 0; $this->lagStat = array_sum($this->lag) / max(1, count($this->lag)); $this->lag = array(); $this->sendBuffer();