small fix

This commit is contained in:
kremsy 2013-12-24 16:35:42 +01:00
parent 4bdf9d558a
commit b6de851d20

View File

@ -561,7 +561,8 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener {
foreach($this->playersListShown as $login => $shown){ foreach($this->playersListShown as $login => $shown){
if($shown == true){ if($shown == true){
$player = $this->maniaControl->playerManager->getPlayer($login); $player = $this->maniaControl->playerManager->getPlayer($login);
$this->showPlayerList($player); if($player != null)
$this->showPlayerList($player);
} }
} }
} }