1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 17:54:50 +01:00

Allow opening Objective options via console (#13000)

This commit is contained in:
Michael Steenbeek
2020-09-28 02:53:31 +02:00
committed by GitHub
parent 4ec10837a6
commit 3c07a9e49b
2 changed files with 6 additions and 0 deletions

View File

@@ -1160,6 +1160,10 @@ static int32_t cc_open(InteractiveConsole& console, const arguments_t& argv)
{
context_open_window(WC_EDITOR_SCENARIO_OPTIONS);
}
else if (argv[0] == "objective_options" && invalidArguments(&invalidTitle, !title))
{
context_open_window(WC_EDTIOR_OBJECTIVE_OPTIONS);
}
else if (argv[0] == "options")
{
context_open_window(WC_OPTIONS);
@@ -1736,6 +1740,7 @@ static constexpr const utf8* console_window_table[] = {
"object_selection",
"inventions_list",
"scenario_options",
"objective_options",
"options",
"themes",
"title_sequences"