I have issue with removeMenuItem() function when using the admin options ($playerAction parameter = false).
I've added a Quad() into the admin+user menu (both works) and i want to remove those icon.
Icon is removed from user menu with :
Code: Select all
$this->maniaControl->actionsMenu->removeMenuItem(69, true);
Code: Select all
$this->maniaControl->actionsMenu->removeMenuItem(69, false);
Could you tell me what's wrong ?
The code in https://github.com/ManiaControl/ManiaCo ... nsMenu.php looks fine...