Menu: Blacklist any test_* prefixed maps in the Create game menu
This commit is contained in:
parent
fe62de4a67
commit
75adc63665
1 changed files with 4 additions and 0 deletions
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue