Skip to content

Commit

Permalink
Fix assignment to undeclared global "sign" @ worldedit_commands/init.…
Browse files Browse the repository at this point in the history
…lua:791
  • Loading branch information
sfan5 committed Sep 12, 2017
1 parent 59dc2d3 commit 4605596
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions worldedit_commands/init.lua
Expand Up @@ -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
Expand Down

0 comments on commit 4605596

Please sign in to comment.