Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix Orient in WorldEdit GUI
  • Loading branch information
sfan5 committed Jan 5, 2016
1 parent 3d30588 commit 3aa315f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worldedit_gui/functionality.lua
Expand Up @@ -497,7 +497,7 @@ worldedit.register_gui_handler("worldedit_gui_orient", function(name, fields)
if fields.worldedit_gui_orient_submit then
gui_angle[name] = angle_indices[fields.worldedit_gui_orient_angle]
worldedit.show_page(name, "worldedit_gui_orient")
minetest.chatcommands["/orient"].func(name, angle_values[gui_angle[name]])
minetest.chatcommands["/orient"].func(name, tostring(angle_values[gui_angle[name]]))
return true
end
return false
Expand Down

0 comments on commit 3aa315f

Please sign in to comment.