diff --git a/data/lua/wml/objectives.lua b/data/lua/wml/objectives.lua index 07085f010017..dadd54a53e14 100644 --- a/data/lua/wml/objectives.lua +++ b/data/lua/wml/objectives.lua @@ -178,7 +178,9 @@ local function remove_ssf_info_from(cfg) end function wml_actions.objectives(cfg) - cfg = helper.parsed(cfg) + if cfg.delayed_variable_substitution == false then + cfg = helper.parsed(cfg) + end local sides = wesnoth.get_sides(cfg) local silent = cfg.silent