Queue widget refresh

This commit is contained in:
Max Klaversma
2014-05-01 17:35:05 +02:00
committed by Steffen Schröder
parent a08707c602
commit 88d939bdbd
+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) {