aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/mainmenu.lua')
-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