From 91115ba84e27e02a705708a4e7bfc78d0e2a77f9 Mon Sep 17 00:00:00 2001 From: mattsc Date: Tue, 23 Feb 2021 13:08:37 -0800 Subject: [PATCH] Add [test] to list of tags with add-on id 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. --- src/game_config_manager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game_config_manager.cpp b/src/game_config_manager.cpp index 637bdb9f3aa5..dbe771b5fac9 100644 --- a/src/game_config_manager.cpp +++ b/src/game_config_manager.cpp @@ -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.