Skip to content

Commit 4605596

Browse files
committedSep 12, 2017
Fix assignment to undeclared global "sign" @ worldedit_commands/init.lua:791
1 parent 59dc2d3 commit 4605596

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

Diff for: ‎worldedit_commands/init.lua

+1
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,7 @@ minetest.register_chatcommand("/move", {
788788
end
789789
amount = tonumber(amount)
790790
if axis == "?" then
791+
local sign
791792
axis, sign = worldedit.player_axis(name)
792793
amount = amount * sign
793794
end

0 commit comments

Comments
 (0)
Please sign in to comment.