fix on playerlist show
This commit is contained in:
parent
2e8a18692c
commit
5c6533f37b
@ -622,7 +622,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener {
|
|||||||
foreach($this->playersListShown as $login => $shown){
|
foreach($this->playersListShown as $login => $shown){
|
||||||
if($shown){
|
if($shown){
|
||||||
//Check if Shown player still exists
|
//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;
|
$this->playersListShown[$login] = false;
|
||||||
}
|
}
|
||||||
$player = $this->maniaControl->playerManager->getPlayer($login);
|
$player = $this->maniaControl->playerManager->getPlayer($login);
|
||||||
|
Loading…
Reference in New Issue
Block a user