Fix a navigation bug in Plugin Cvars menu (#637)
This commit is contained in:
parent
20d917a307
commit
bb84a43a7b
|
@ -468,7 +468,7 @@ public CvarMenuSelection(id, menu, item)
|
|||
|
||||
if (ExplicitPlugin[id]==-1)
|
||||
{
|
||||
DisplayPluginMenuDefault(id);
|
||||
DisplayPluginMenu(id,"Plugin Cvar Menu:", "PluginMenuSelection","DisplayCvarMenu","GetNumberOfCvarsForPlid");
|
||||
}
|
||||
}
|
||||
else if (item==MENU_BACK)
|
||||
|
@ -790,7 +790,7 @@ public CommandMenuSelection(id, menu, item)
|
|||
|
||||
if (ExplicitPlugin[id]==-1)
|
||||
{
|
||||
client_cmd(id,"amx_plugincmdmenu");
|
||||
DisplayPluginMenu(id,"Plugin Command Menu:", "PluginMenuSelection","DisplayCmdMenu","GetNumberOfCmdsForPlid");
|
||||
}
|
||||
}
|
||||
else if (item==MENU_BACK)
|
||||
|
@ -914,7 +914,7 @@ public CommandMenuCommand(id, level, cid)
|
|||
{
|
||||
// We need to display a list of the plugins, instead of a specific plugin.
|
||||
ExplicitPlugin[id]=-1;
|
||||
DisplayPluginMenuDefault(id);
|
||||
DisplayPluginMenu(id,"Plugin Command Menu:", "PluginMenuSelection","DisplayCmdMenu","GetNumberOfCmdsForPlid");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -925,8 +925,3 @@ public CommandMenuCommand(id, level, cid)
|
|||
}
|
||||
return PLUGIN_HANDLED;
|
||||
}
|
||||
|
||||
DisplayPluginMenuDefault(id)
|
||||
{
|
||||
DisplayPluginMenu(id,"Plugin Command Menu:", "PluginMenuSelection","DisplayCmdMenu","GetNumberOfCmdsForPlid");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user