re-added feature to just have the full list instead

This commit is contained in:
jenz
2026-08-29 15:30:52 +02:00
parent b791b050fc
commit 4fd3017e5f
@@ -942,6 +942,7 @@ Menu BuildCategoryMenu(int client)
AddMenuItem(menu, category, category);
}
AddMenuItem(menu, "Full Map list", "Full Map list");
delete categories;
SetMenuExitButton(menu, true);
@@ -1026,7 +1027,7 @@ Menu BuildMapMenu(const char[] filter, int client, const char[] category = "")
{
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.
GetMapCategory(map, mapCategory, sizeof(mapCategory));