From: kwolekr Date: Mon, 8 Jul 2013 00:36:41 +0000 (-0400) Subject: Lua main menu: Fix world creation dialog X-Git-Tag: 0.4.8~335 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9dcd21911a438fbec5b5aa8cc1f5bb1975a1b98f;p=oweals%2Fminetest.git Lua main menu: Fix world creation dialog --- 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