Skip to content

Commit

Permalink
Don't inject full RCA AI if ai_algorithm unspecified and a [stage] de…
Browse files Browse the repository at this point in the history
…fined
  • Loading branch information
CelticMinstrel committed Mar 22, 2016
1 parent 6158ca7 commit c7d1bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ai/configuration.cpp
Expand Up @@ -341,7 +341,7 @@ void configuration::expand_simplified_aspects(side_number side, config &cfg) {
parsed_config.add_child("aspect", p.second);
}
}
if (algorithm.empty()) {
if (algorithm.empty() && !parsed_config.has_child("stage")) {
base_config = get_ai_config_for("ai_default_rca");
}
BOOST_FOREACH(const config::any_child &child, parsed_config.all_children_range()) {
Expand Down

0 comments on commit c7d1bd6

Please sign in to comment.