From a08707c602c67836a46d3ef0a2ef4ed0972ee9b1 Mon Sep 17 00:00:00 2001 From: Max Klaversma Date: Fri, 24 Jan 2014 20:08:32 +0100 Subject: [PATCH] Changed Queue messages --- application/plugins/QueuePlugin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/plugins/QueuePlugin.php b/application/plugins/QueuePlugin.php index 7bae1344..b81f5cde 100644 --- a/application/plugins/QueuePlugin.php +++ b/application/plugins/QueuePlugin.php @@ -202,7 +202,7 @@ class QueuePlugin implements CallbackListener, CommandListener, ManialinkPageAns public function handleManiaLinkAnswerRemove(array $chatCallback, Player $player) { $this->removePlayerFromQueue($player); $this->showJoinQueueWidget($player); - $this->maniaControl->chat->sendChat('$090[Queue] $fff'.$player->nickname.'$z$s$090 has left the queue!'); + $this->maniaControl->chat->sendChat('$z$s$090[Queue] $fff'.$player->nickname.'$z$s$090 has left the queue!'); } private function moveFirstPlayerToPlay() { @@ -219,14 +219,14 @@ class QueuePlugin implements CallbackListener, CommandListener, ManialinkPageAns if(isset($this->spectators[$player->login])) unset($this->spectators[$player->login]); $this->removePlayerFromQueue($player->login); $this->showPlayWidget($player); - $this->maniaControl->chat->sendChat('$090[Queue] $fff'.$player->nickname.'$z$s$090 has a free spot and is now playing!'); + $this->maniaControl->chat->sendChat('$z$s$090[Queue] $fff'.$player->nickname.'$z$s$090 has a free spot and is now playing!'); } } private function addPlayerToQueue(Player $player) { if($this->maniaControl->settingManager->getSetting($this, self::QUEUE_MAX) > count($this->queue)) { $this->queue[count($this->queue)] = $player; - $this->maniaControl->chat->sendChat('$090[Queue] $fff'.$player->nickname.'$z$s$090 has joined the queue!'); + $this->maniaControl->chat->sendChat('$z$s$090[Queue] $fff'.$player->nickname.'$z$s$090 has joined the queue!'); } }