Skip to content

Commit

Permalink
actually do the Shavit_GetMapsStringMap map display name thing right #…
Browse files Browse the repository at this point in the history
  • Loading branch information
rtldg committed Aug 27, 2022
1 parent 3d16f5f commit a1a1c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/shavit-mapchooser.sp
Original file line number Diff line number Diff line change
Expand Up @@ -1549,6 +1549,7 @@ void CreateNominateMenu()

char mapdisplay[PLATFORM_MAX_PATH];
LessStupidGetMapDisplayName(mapname, mapdisplay, sizeof(mapdisplay));
g_mMapList.SetValue(mapdisplay, true);

if (tiersMap)
{
Expand All @@ -1564,7 +1565,6 @@ void CreateNominateMenu()
}

g_hNominateMenu.AddItem(mapname, mapdisplay, style);
g_mMapList.SetValue(mapdisplay, true);
}

delete tiersMap;
Expand Down

0 comments on commit a1a1c6a

Please sign in to comment.