menu improvement
This commit is contained in:
parent
4ce717d73b
commit
24fa0863b7
@ -324,15 +324,7 @@ class Configurator implements CallbackListener, CommandListener, ManialinkPageAn
|
|||||||
$actionArray = explode(".", $callback[1][2]);
|
$actionArray = explode(".", $callback[1][2]);
|
||||||
|
|
||||||
$player = $this->maniaControl->playerManager->getPlayer($login);
|
$player = $this->maniaControl->playerManager->getPlayer($login);
|
||||||
$id = 0;
|
$this->showMenu($player, intval($actionArray[2]));
|
||||||
foreach($this->menus as $menu) {
|
|
||||||
|
|
||||||
if($id == intval($actionArray[2])) {
|
|
||||||
$this->showMenu($player, $id);
|
|
||||||
}
|
|
||||||
$id++;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user