Lua main menu: Fix world creation dialog

This commit is contained in:
kwolekr 2013-07-07 20:36:41 -04:00 committed by Nils Dagsson Moskopp
parent 08d7219736
commit 356c2b5def
Signed by: erle
GPG Key ID: A3BC671C35191080
1 changed files with 1 additions and 1 deletions

View File

@ -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