From: kwolekr Date: Mon, 8 Jul 2013 00:36:41 +0000 (-0400) Subject: Lua main menu: Fix world creation dialog X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=9dcd21911a438fbec5b5aa8cc1f5bb1975a1b98f;p=zefram%2Fminetest%2Fminetest_engine.git Lua main menu: Fix world creation dialog --- diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua index 87c96d69..6670a5eb 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