Queue widget refresh

This commit is contained in:
Max Klaversma 2014-01-24 20:10:24 +01:00 committed by Steffen Schröder
parent a08707c602
commit 88d939bdbd

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) {