Fixed a variable typo pointed out by Elvish_Hunter

This commit is contained in:
Charles Dang 2015-09-20 23:49:06 +11:00
parent 48def4ff0a
commit 00d96b3016

View file

@ -19,7 +19,7 @@ function wml_actions.object(cfg)
if filter then
unit = wesnoth.get_units(filter)[1]
else
unit = wesnoth.get_unit(contxt.x, context.y)
unit = wesnoth.get_unit(context.x, context.y)
end
-- If a unit matches the filter, proceed