Menu: Blacklist any test_* prefixed maps in the Create game menu
This commit is contained in:
parent
fe62de4a67
commit
75adc63665
|
@ -182,6 +182,10 @@ menu_creategame_init(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ignore test_ prefix maps */
|
||||||
|
if (substring(tmp, 0, 5) == "test_")
|
||||||
|
list = FALSE;
|
||||||
|
|
||||||
if (list == TRUE) {
|
if (list == TRUE) {
|
||||||
create_lbMaps.AddEntry(tmp);
|
create_lbMaps.AddEntry(tmp);
|
||||||
realcount++;
|
realcount++;
|
||||||
|
|
Loading…
Reference in New Issue