minor things

This commit is contained in:
kremsy
2013-12-14 19:32:45 +01:00
parent 30717ce343
commit a1104c327a
2 changed files with 6 additions and 0 deletions

View File

@ -142,6 +142,7 @@ class PlayerManager implements CallbackListener {
*/
public function playerDisconnect(array $callback) {
$login = $callback[1][0];
//TODO check for fakeplayers
$player = $this->removePlayer($login);
$played = Formatter::formatTimeH(time() - $player->joinTime);