small fix

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

View File

@ -561,6 +561,7 @@ 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);
if($player != null)
$this->showPlayerList($player); $this->showPlayerList($player);
} }
} }