attempt to fix crash when starting a sp game
get_parameters used parts of the game config that was deleted by prepare_for_new_level which calls game_config_manager::load_game_config_for_game
This commit is contained in:
parent
ca83f5028c
commit
c2dd4c93d8
1 changed files with 1 additions and 1 deletions
|
@ -134,8 +134,8 @@ bool enter_configure_mode(CVideo& video, const config& game_config, saved_game&
|
|||
return false;
|
||||
}
|
||||
|
||||
create_eng.prepare_for_new_level();
|
||||
create_eng.get_parameters();
|
||||
create_eng.prepare_for_new_level();
|
||||
|
||||
enter_connect_mode(video, game_config, state, local_players_only);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue