diff options
author | sfan5 <sfan5@live.de> | 2017-09-12 14:58:26 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2017-09-12 14:58:26 +0200 |
commit | 46055962155887dc028a76ed608d8a9e18ccde0c (patch) | |
tree | f811bca6ca9a29b39c9cb9b6ed14f7bef0cc4bd0 | |
parent | 59dc2d34d9eaff80314c8add85e470db59711847 (diff) |
Fix assignment to undeclared global "sign" @ worldedit_commands/init.lua:791
-rw-r--r-- | worldedit_commands/init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/worldedit_commands/init.lua b/worldedit_commands/init.lua index a102dbc..6b6d2a7 100644 --- a/worldedit_commands/init.lua +++ b/worldedit_commands/init.lua @@ -788,6 +788,7 @@ minetest.register_chatcommand("/move", { end
amount = tonumber(amount)
if axis == "?" then
+ local sign
axis, sign = worldedit.player_axis(name)
amount = amount * sign
end
|