mapchooser: Replace existing map entry from exclusion list (#1184)

This commit is contained in:
stickz 2020-02-26 18:59:35 -05:00 committed by GitHub
parent a1ed47be87
commit 68e45f3583
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -257,6 +257,7 @@ public void OnMapEnd()
char map[PLATFORM_MAX_PATH];
GetCurrentMap(map, sizeof(map));
RemoveStringFromArray(g_OldMapList, map);
g_OldMapList.PushString(map);
if (g_OldMapList.Length > g_Cvar_ExcludeMaps.IntValue)