From 0de963cd8a2269958996bc91c0b06def14aa2c8c Mon Sep 17 00:00:00 2001 From: Chris Beck Date: Fri, 5 Sep 2014 16:52:03 -0400 Subject: [PATCH] fix whitespace at end of line --- data/lua/wml-tags.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/lua/wml-tags.lua b/data/lua/wml-tags.lua index 94be0701e84e..262596e63836 100644 --- a/data/lua/wml-tags.lua +++ b/data/lua/wml-tags.lua @@ -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)