summaryrefslogtreecommitdiff
path: root/worldedit_gui
diff options
context:
space:
mode:
authorAnthony Zhang <azhang9@gmail.com>2015-06-18 18:14:45 -0400
committerAnthony Zhang <azhang9@gmail.com>2015-06-18 18:14:45 -0400
commitfc037e9c82f34a6bf441dd738c1b10a510eb8b4d (patch)
treeafab7c5047deead24ec3a27d57446501082b3b86 /worldedit_gui
parent90d6b3d23737eb410952c57622d010ff83b429bb (diff)
Fix formspec typo causing crashing upon using `/orient` in the GUI.
Diffstat (limited to 'worldedit_gui')
-rw-r--r--worldedit_gui/functionality.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/worldedit_gui/functionality.lua b/worldedit_gui/functionality.lua
index 620f6c4..989c9eb 100644
--- a/worldedit_gui/functionality.lua
+++ b/worldedit_gui/functionality.lua
@@ -488,7 +488,7 @@ worldedit.register_gui_function("worldedit_gui_orient", {
get_formspec = function(name)
local angle = gui_angle[name]
return "size[5,3]" .. worldedit.get_formspec_header("worldedit_gui_orient") ..
- string.format("dropdown[0,1;2.5;worldedit_gui_rotate_angle;90 degrees,180 degrees,270 degrees;%s]", angle) ..
+ string.format("dropdown[0,1;2.5;worldedit_gui_orient_angle;90 degrees,180 degrees,270 degrees;%s]", angle) ..
"button_exit[0,2.5;3,0.8;worldedit_gui_orient_submit;Orient]"
end,
})