fixup HEAD

This commit is contained in:
gfgtdf 2015-01-05 17:29:46 +01:00
parent 201d83f608
commit 486fc8ed71

View file

@ -1072,7 +1072,7 @@ end
function wml_actions.store_side(cfg)
local variable = cfg.variable or "side"
local is_explicit_index = string.sub(str, string.len(str)) == "]"
local is_explicit_index = string.sub(variable, string.len(variable)) == "]"
local index = 0
if not is_explicit_index then
wesnoth.set_variable(variable)