aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2013-07-07 20:36:41 -0400
committerkwolekr <kwolekr@minetest.net>2013-07-07 20:37:00 -0400
commit9dcd21911a438fbec5b5aa8cc1f5bb1975a1b98f (patch)
tree243ddcc4081cea715a735a93c8822d77db4bfca6
parent9bd5f612f75b3eaf9f981bd76f7fc6081c04d410 (diff)
downloadminetest-9dcd21911a438fbec5b5aa8cc1f5bb1975a1b98f.tar.gz
minetest-9dcd21911a438fbec5b5aa8cc1f5bb1975a1b98f.tar.bz2
minetest-9dcd21911a438fbec5b5aa8cc1f5bb1975a1b98f.zip
Lua main menu: Fix world creation dialog
-rw-r--r--builtin/mainmenu.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua
index 87c96d690..6670a5eb8 100644
--- a/builtin/mainmenu.lua
+++ b/builtin/mainmenu.lua
@@ -585,7 +585,7 @@ function tabbuilder.handle_create_world_buttons(fields)
local found = false
for i=1,#menu.worldlist,1 do
- if worldlist[i].name == worldname then
+ if menu.worldlist[i].name == worldname then
found = true
break
end