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 *