Added stop Chunked on Player::close()

This commit is contained in:
Shoghi Cervantes 2013-06-08 00:43:39 +02:00
parent 1ce23ab8d7
commit 20b83319de
2 changed files with 3 additions and 2 deletions

View file

@ -254,6 +254,7 @@ class Player{
$this->recovery = null;
unset($this->recovery);
$this->connected = false;
$this->server->interface->stopChunked($this->CID);
if($msg === true and $this->username != ""){
$this->server->api->chat->broadcast($this->username." left the game");
}