mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-07 07:04:36 +01:00
Added title restriction to new window
This commit is contained in:
@@ -840,7 +840,7 @@ static int cc_open(const char **argv, int argc) {
|
||||
window_editor_object_selection_open();
|
||||
} else if (strcmp(argv[0], "inventions_list") == 0 && invalidArguments(&invalidTitle, !title)) {
|
||||
window_editor_inventions_list_open();
|
||||
} else if (strcmp(argv[0], "scenario_options") == 0) {
|
||||
} else if (strcmp(argv[0], "scenario_options") == 0 && invalidArguments(&invalidTitle, !title)) {
|
||||
window_editor_scenario_options_open();
|
||||
} else if (strcmp(argv[0], "options") == 0) {
|
||||
window_options_open();
|
||||
@@ -896,6 +896,7 @@ char* console_variable_table[] = {
|
||||
char* console_window_table[] = {
|
||||
"object_selection",
|
||||
"inventions_list",
|
||||
"scenario_options",
|
||||
"options",
|
||||
"themes"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user