We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a4295d commit 024ae2bCopy full SHA for 024ae2b
1 file changed
plugins/basecommands/map.sp
@@ -159,8 +159,10 @@ int LoadMapList(Menu menu)
159
160
for (int i = 0; i < map_count; i++)
161
{
162
+ char displayName[PLATFORM_MAX_PATH];
163
GetArrayString(g_map_array, i, map_name, sizeof(map_name));
- menu.AddItem(map_name, map_name);
164
+ GetMapDisplayName(map_name, displayName, sizeof(displayName));
165
+ menu.AddItem(map_name, displayName);
166
}
167
168
return map_count;
0 commit comments