Fix main_loop stage being duplicated in MP
This commit is contained in:
parent
f545fbcbe8
commit
56a99175da
1 changed files with 1 additions and 1 deletions
|
@ -1027,7 +1027,7 @@ config side_engine::new_config() const
|
|||
assert(controller_ != CNTR_LAST);
|
||||
if(controller_ == CNTR_COMPUTER && allow_player_) {
|
||||
// Do not import default ai cfg otherwise - all is set by scenario config.
|
||||
res.add_child("ai", ai::configuration::get_ai_config_for(ai_algorithm_));
|
||||
res.add_child_at("ai", config_of("ai_algorithm", ai_algorithm_), 0);
|
||||
}
|
||||
|
||||
if(controller_ == CNTR_EMPTY) {
|
||||
|
|
Loading…
Add table
Reference in a new issue