From 46634c33f76204b3cc8c1f90dcf39561f6895703 Mon Sep 17 00:00:00 2001 From: kremsy Date: Thu, 2 Jan 2014 19:14:48 +0100 Subject: [PATCH] temporary added playerlist to playermenu button --- application/core/Admin/ActionsMenu.php | 1 + application/core/Players/PlayerCommands.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/application/core/Admin/ActionsMenu.php b/application/core/Admin/ActionsMenu.php index 7dd2606b..b03c717a 100644 --- a/application/core/Admin/ActionsMenu.php +++ b/application/core/Admin/ActionsMenu.php @@ -139,6 +139,7 @@ class ActionsMenu implements CallbackListener, ManialinkPageAnswerListener { * @param array $callback */ public function openPlayerMenu(array $callback, Player $player) { + $this->maniaControl->playerManager->playerCommands->playerList->showPlayerList($player); } private function buildMenuIconsManialink() { diff --git a/application/core/Players/PlayerCommands.php b/application/core/Players/PlayerCommands.php index a6a23dfe..1cf5b7d8 100644 --- a/application/core/Players/PlayerCommands.php +++ b/application/core/Players/PlayerCommands.php @@ -17,7 +17,7 @@ class PlayerCommands implements CommandListener { * Private properties */ private $maniaControl = null; - private $playerList = null; + public $playerList = null; /** * Create a new server commands instance *