re-added feature to just have the full list instead
This commit is contained in:
@@ -942,6 +942,7 @@ Menu BuildCategoryMenu(int client)
|
|||||||
AddMenuItem(menu, category, category);
|
AddMenuItem(menu, category, category);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AddMenuItem(menu, "Full Map list", "Full Map list");
|
||||||
delete categories;
|
delete categories;
|
||||||
|
|
||||||
SetMenuExitButton(menu, true);
|
SetMenuExitButton(menu, true);
|
||||||
@@ -1026,7 +1027,7 @@ Menu BuildMapMenu(const char[] filter, int client, const char[] category = "")
|
|||||||
{
|
{
|
||||||
GetArrayString(g_MapList, i, map, sizeof(map));
|
GetArrayString(g_MapList, i, map, sizeof(map));
|
||||||
|
|
||||||
if (category[0])
|
if (category[0] && !StrEqual(category, "Full Map list"))
|
||||||
{
|
{
|
||||||
//only shows maps that are in this actual category.
|
//only shows maps that are in this actual category.
|
||||||
GetMapCategory(map, mapCategory, sizeof(mapCategory));
|
GetMapCategory(map, mapCategory, sizeof(mapCategory));
|
||||||
|
|||||||
Reference in New Issue
Block a user