From 9dcd21911a438fbec5b5aa8cc1f5bb1975a1b98f Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sun, 7 Jul 2013 20:36:41 -0400 Subject: [PATCH] Lua main menu: Fix world creation dialog --- builtin/mainmenu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2