From 620807c419814e432e68bd2544e0ae0b72c33b73 Mon Sep 17 00:00:00 2001 From: kremsy Date: Thu, 30 Jan 2014 23:38:13 +0100 Subject: [PATCH] cleanup --- application/core/Players/PlayerList.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/application/core/Players/PlayerList.php b/application/core/Players/PlayerList.php index 37fc0974..21e40edb 100644 --- a/application/core/Players/PlayerList.php +++ b/application/core/Players/PlayerList.php @@ -76,9 +76,15 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener, Timer $this->maniaControl->callbackManager->registerCallbackListener(PlayerManager::CB_PLAYERDISCONNECTED, $this, 'updateWidget'); $this->maniaControl->callbackManager->registerCallbackListener(PlayerManager::CB_PLAYERJOINED, $this, 'updateWidget'); $this->maniaControl->callbackManager->registerCallbackListener(AuthenticationManager::CB_AUTH_LEVEL_CHANGED, $this, 'updateWidget'); + + } - + /** + * Add Player to Shown List + * @param Player $player + * @param int $showStatus + */ public function addPlayerToShownList(Player $player, $showStatus = self::SHOWN_MAIN_WINDOW) { $this->playersListShown[$player->login] = $showStatus; }