From 8308f7d3b97f215319ac3b1c8e89b609d8781541 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 8b9c661c7083..1fd7d70e39a7 100644 --- a/data/lua/wml-tags.lua +++ b/data/lua/wml-tags.lua @@ -734,7 +734,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)