Skip to content

Commit

Permalink
Add [test] to list of tags with add-on id
Browse files Browse the repository at this point in the history
As of PR #4963, the engine ignores all global tags defined by add-ons that are not active, that is, that are not used in the current game.  Whether an add-on counts as active is determined based on a list of possible tags with add-on ids.  The [test] tag is not included in this list, resulting in test scenarios in add-ons not working any more.
  • Loading branch information
mattsc committed Feb 23, 2021
1 parent 1428599 commit 91115ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/game_config_manager.cpp
Expand Up @@ -499,7 +499,8 @@ void game_config_manager::load_addons_cfg()
"resource",
"multiplayer",
"scenario",
"campaign"
"campaign",
"test"
};

// Annotate appropriate addon types with addon_id info.
Expand Down

0 comments on commit 91115ba

Please sign in to comment.