Queue widget refresh

This commit is contained in:
Max Klaversma authored and Steffen Schröder committed 2014-05-01 17:35:05 +02:00
1 parent a08707c602
commit 88d939bdbd
1 file changed
+3 -2
+3 -2
View File
@@ -183,8 +183,9 @@ class QueuePlugin implements CallbackListener, CommandListener, ManialinkPageAns
$this->moveFirstPlayerToPlay(); $this->moveFirstPlayerToPlay();
} }
foreach($this->queue as $queuedPlayer) { foreach($this->spectators as $login) {
$this->showJoinQueueWidget($queuedPlayer); $player = $this->maniaControl->playerManager->getPlayer($login);
$this->showJoinQueueWidget($player);
} }
foreach($this->showPlay as $showPlay) { foreach($this->showPlay as $showPlay) {