Menu: Blacklist any test_* prefixed maps in the Create game menu

This commit is contained in:
Marco Cawthorne 2021-01-14 15:41:01 +01:00
parent fe62de4a67
commit 75adc63665
1 changed files with 4 additions and 0 deletions

View File

@ -182,6 +182,10 @@ menu_creategame_init(void)
}
}
/* ignore test_ prefix maps */
if (substring(tmp, 0, 5) == "test_")
list = FALSE;
if (list == TRUE) {
create_lbMaps.AddEntry(tmp);
realcount++;