actually do the Shavit_GetMapsStringMap map display name thing right #1168

This commit is contained in:
rtldg 2022-08-27 01:19:30 +00:00
parent 3d16f5ffa7
commit a1a1c6adfa
No known key found for this signature in database
GPG Key ID: E7CB3193D37A49DA

View File

@ -1549,6 +1549,7 @@ void CreateNominateMenu()
char mapdisplay[PLATFORM_MAX_PATH];
LessStupidGetMapDisplayName(mapname, mapdisplay, sizeof(mapdisplay));
g_mMapList.SetValue(mapdisplay, true);
if (tiersMap)
{
@ -1564,7 +1565,6 @@ void CreateNominateMenu()
}
g_hNominateMenu.AddItem(mapname, mapdisplay, style);
g_mMapList.SetValue(mapdisplay, true);
}
delete tiersMap;