Skip to content

Commit

Permalink
AI: added hidden= as valid non-aspect key
Browse files Browse the repository at this point in the history
Should have added this in b2df837. Should fix the warning
1d84d83 attempted to fix.
  • Loading branch information
Vultraz committed Feb 22, 2018
1 parent 4bf5c93 commit 475ba8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ai/configuration.cpp
Expand Up @@ -256,7 +256,7 @@ bool configuration::parse_side_config(side_number side, const config& original_c

}

static const std::set<std::string> non_aspect_attributes {"turns", "time_of_day", "engine", "ai_algorithm", "id", "description"};
static const std::set<std::string> non_aspect_attributes {"turns", "time_of_day", "engine", "ai_algorithm", "id", "description", "hidden"};
static const std::set<std::string> just_copy_tags {"engine", "stage", "aspect", "goal", "modify_ai"};
static const std::set<std::string> old_goal_tags {"target", "target_location", "protect_unit", "protect_location"};

Expand Down

0 comments on commit 475ba8c

Please sign in to comment.