Skip to content

Commit

Permalink
fix whitespace at end of line
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 authored and irydacea committed Oct 4, 2014
1 parent 0cb9891 commit 0de963c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/lua/wml-tags.lua
Expand Up @@ -696,7 +696,7 @@ function wml_actions.move_unit(cfg)
local prevX, prevY = tonumber(current_unit.x), tonumber(current_unit.y)
while true do
x = tonumber(x) or helper.wml_error(coordinate_error)
y = tonumber(y) or helper.wml_error(coordinate_error)
y = tonumber(y) or helper.wml_error(coordinate_error)
if not x == prevX and not y == prevY then x, y = wesnoth.find_vacant_tile(x, y, pass_check) end
if not x or not y then helper.wml_error("Could not find a suitable hex near to one of the target hexes in [move_unit].") end
move_string_x = string.format("%s,%u", move_string_x, x)
Expand Down

0 comments on commit 0de963c

Please sign in to comment.