From 5c6533f37b5bb0e80363c20e75ab6acdf0e83283 Mon Sep 17 00:00:00 2001 From: kremsy Date: Mon, 30 Dec 2013 15:13:08 +0100 Subject: [PATCH] fix on playerlist show --- application/core/Players/PlayerList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/core/Players/PlayerList.php b/application/core/Players/PlayerList.php index 2985b8bc..5794cb6e 100644 --- a/application/core/Players/PlayerList.php +++ b/application/core/Players/PlayerList.php @@ -622,7 +622,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener { foreach($this->playersListShown as $login => $shown){ if($shown){ //Check if Shown player still exists - if($this->maniaControl->playerManager->getPlayer($shown) == null){ + if($shown != self::SHOWN_MAIN_WINDOW && $this->maniaControl->playerManager->getPlayer($shown) == null){ $this->playersListShown[$login] = false; } $player = $this->maniaControl->playerManager->getPlayer($login);