Fixed a variable typo pointed out by Elvish_Hunter
This commit is contained in:
parent
48def4ff0a
commit
00d96b3016
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue