small fix

This commit is contained in:
kremsy 2013-12-26 17:28:47 +01:00
parent 890d72d8f4
commit 852878ced2

View File

@ -607,7 +607,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener {
*/
public function updateWidget(array $callback){
foreach($this->playersListShown as $login => $shown){
if($shown == true){
if($shown){
$player = $this->maniaControl->playerManager->getPlayer($login);
if($player != null)
$this->showPlayerList($player);