Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix //rotate for real this time.
  • Loading branch information
Uberi committed Jun 2, 2013
1 parent 0664cde commit f1cfc47
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions worldedit_commands/init.lua
Expand Up @@ -699,11 +699,7 @@ minetest.register_chatcommand("/rotate", {
return
end

local tenv = minetest.env
if worldedit.ENABLE_QUEUE then
tenv = worldedit.queue_aliasenv
end
local count, pos1, pos2 = worldedit.rotate(pos1, pos2, axis, angle, tenv)
local count, pos1, pos2 = worldedit.rotate(pos1, pos2, axis, angle)

--reset markers to rotated positions
worldedit.pos1[name] = pos1
Expand Down

0 comments on commit f1cfc47

Please sign in to comment.