Skip to content

Commit

Permalink
Fix main_loop stage being duplicated in MP
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel authored and mattsc committed Mar 22, 2016
1 parent f545fbc commit 56a9917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game_initialization/connect_engine.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 56a9917

Please sign in to comment.