Fix [heal_unit] not defaulting to amount=full (GNA25586)

This commit is contained in:
Celtic Minstrel 2017-03-12 15:18:57 -04:00
parent 070e4b6f8c
commit 72f9a4f270

View file

@ -653,7 +653,7 @@ function wml_actions.heal_unit(cfg)
}
end
local heal_full = cfg.amount == "full"
local heal_full = cfg.amount == "full" or cfg.amount == nil
local moves_full = cfg.moves == "full"
local heal_amount_set = false
for i,u in ipairs(who) do