Skip to content

Commit

Permalink
Objectives: Support delayed_variable_substitution (default true)
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Apr 21, 2017
1 parent e9895f8 commit 96f7018
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion data/lua/wml/objectives.lua
Expand Up @@ -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
Expand Down

0 comments on commit 96f7018

Please sign in to comment.