mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Lua main menu: Fix world creation dialog
This commit is contained in:
parent
9bd5f612f7
commit
9dcd21911a
1 changed files with 1 additions and 1 deletions
|
@ -585,7 +585,7 @@ function tabbuilder.handle_create_world_buttons(fields)
|
||||||
|
|
||||||
local found = false
|
local found = false
|
||||||
for i=1,#menu.worldlist,1 do
|
for i=1,#menu.worldlist,1 do
|
||||||
if worldlist[i].name == worldname then
|
if menu.worldlist[i].name == worldname then
|
||||||
found = true
|
found = true
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue