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:
committed by
GitHub
parent
4ec10837a6
commit
3c07a9e49b
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user