- fixed admin menu regression bugs
- if a category fails to draw, the root menu now gets re-displayed --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401533
This commit is contained in:
@@ -113,6 +113,7 @@ public CategoryHandler(Handle:topmenu,
|
||||
String:buffer[],
|
||||
maxlength)
|
||||
{
|
||||
PrintToServer("CategoryHandler(%x, %d, %x)", topmenu, action, object_id);
|
||||
if (action == TopMenuAction_DisplayTitle)
|
||||
{
|
||||
if (object_id == INVALID_TOPMENUOBJECT)
|
||||
@@ -147,8 +148,6 @@ public CategoryHandler(Handle:topmenu,
|
||||
Format(buffer, maxlength, "%T", "Voting Commands", param);
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
public __GetAdminTopMenu(Handle:plugin, numParams)
|
||||
|
||||
Reference in New Issue
Block a user