Send the entire Buffer at disconnect

This commit is contained in:
Shoghi Cervantes Pueyo 2013-03-19 18:58:10 +01:00
parent fe2b9a6ac5
commit 58631ba1d0

View File

@ -206,6 +206,7 @@ class Player{
"status" => 1,
));
$this->dataPacket(MC_DISCONNECT);
$this->sendBuffer();
$this->buffer = null;
unset($this->buffer);
$this->recovery = null;