private players array
This commit is contained in:
1 parent
46665aa86c
commit
fc2012080b
2 files changed
+3
-4
No files matched your search
@@ -509,7 +509,7 @@ class QueuePlugin implements CallbackListener, ManialinkPageAnswerListener, Time
|
||||
return;
|
||||
}
|
||||
|
||||
if ($this->maxPlayers > (count($this->maniaControl->playerManager->players) - count($this->spectators))) {
|
||||
if ($this->maxPlayers > ($this->maniaControl->playerManager->getPlayerCount() - count($this->spectators))) {
|
||||
$this->moveFirstPlayerToPlay();
|
||||
$this->showQueueWidgetSpectators();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user