MP Create Game: also update options on mod or era select
This commit is contained in:
parent
c2e6fda94c
commit
afc90a03cf
1 changed files with 4 additions and 0 deletions
|
@ -485,6 +485,8 @@ void tmp_create_game::on_mod_toggle(const int index)
|
|||
{
|
||||
create_engine_.set_current_mod_index(index);
|
||||
create_engine_.toggle_current_mod();
|
||||
|
||||
options_manager_->update_options_list();
|
||||
}
|
||||
|
||||
void tmp_create_game::on_era_select(twindow& window)
|
||||
|
@ -492,6 +494,8 @@ void tmp_create_game::on_era_select(twindow& window)
|
|||
create_engine_.set_current_era_index(find_widget<tmenu_button>(&window, "eras", false).get_value());
|
||||
|
||||
find_widget<tmenu_button>(&window, "eras", false).set_tooltip(create_engine_.current_extra(ng::create_engine::ERA).description);
|
||||
|
||||
options_manager_->update_options_list();
|
||||
}
|
||||
|
||||
void tmp_create_game::on_random_faction_mode_select(twindow& window)
|
||||
|
|
Loading…
Add table
Reference in a new issue