Use map display name for admin map chooser menu (#1097)
This commit is contained in:
parent
8a4295d699
commit
024ae2b9ed
@ -159,8 +159,10 @@ int LoadMapList(Menu menu)
|
||||
|
||||
for (int i = 0; i < map_count; i++)
|
||||
{
|
||||
char displayName[PLATFORM_MAX_PATH];
|
||||
GetArrayString(g_map_array, i, map_name, sizeof(map_name));
|
||||
menu.AddItem(map_name, map_name);
|
||||
GetMapDisplayName(map_name, displayName, sizeof(displayName));
|
||||
menu.AddItem(map_name, displayName);
|
||||
}
|
||||
|
||||
return map_count;
|
||||
|
Loading…
Reference in New Issue
Block a user