Skip to content

Commit

Permalink
Don't interpret description or id attributes as simple aspects.
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel authored and mattsc committed Mar 22, 2016
1 parent 2893712 commit ad075af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ai/configuration.cpp
Expand Up @@ -264,7 +264,7 @@ void configuration::expand_simplified_aspects(side_number side, config &cfg) {
}
std::deque<std::pair<std::string, config> > facet_configs;
BOOST_FOREACH(const config::attribute &attr, aiparam.attribute_range()) {
if (attr.first == "turns" || attr.first == "time_of_day" || attr.first == "engine" || attr.first == "ai_algorithm") {
if (attr.first == "turns" || attr.first == "time_of_day" || attr.first == "engine" || attr.first == "ai_algorithm" || attr.first == "id" || attr.first == "description") {
continue;
}
config facet_config;
Expand Down

0 comments on commit ad075af

Please sign in to comment.