From 5cb06579cddbdf6e552640dff2b81b6e9df1cdab Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Thu, 6 Jun 2013 17:34:42 +0200 Subject: [PATCH] Another fast network fix --- src/Player.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Player.php b/src/Player.php index 7ab2f60d1..c0c007188 100644 --- a/src/Player.php +++ b/src/Player.php @@ -885,7 +885,7 @@ class Player{ $this->need[$i] = true; } $this->send(0xa0, $arr); - $this->queue[$data[0]] = $data; + $this->queue[$data[0]] = array($pid, $data); break; }elseif($diff === 1){ $this->counter[1] = $data[0]; @@ -1536,11 +1536,11 @@ class Player{ if(isset($this->queue[$this->counter[1] + 1])){ $d = $this->queue[$this->counter[1] + 1]; unset($this->queue[$this->counter[1] + 1]); - $this->handle($d["pid"], $d); + $this->handle($d0, $d[1]); }elseif(count($this->queue) > 25){ $q = array_shift($this->queue); - $this->counter[1] = $q[0]; - $this->handle($q["pid"], $q); + $this->counter[1] = $q[1][0]; + $this->handle($q[0], $q[1]); } break; }