diff options
author | DS <vorunbekannt75@web.de> | 2019-08-14 23:35:47 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2019-08-14 23:35:47 +0200 |
commit | 082066e81393618152c279cccb98e0a05a0aebea (patch) | |
tree | 345c5e14dd0fe029089e0c195e72d1ac1989350d /builtin/mainmenu/dlg_create_world.lua | |
parent | b2065756cf9c90d493846a559587e4acec4a7851 (diff) | |
download | minetest-082066e81393618152c279cccb98e0a05a0aebea.tar.gz minetest-082066e81393618152c279cccb98e0a05a0aebea.tar.bz2 minetest-082066e81393618152c279cccb98e0a05a0aebea.zip |
Fix undeclared global warning because of _ (#8798)
Diffstat (limited to 'builtin/mainmenu/dlg_create_world.lua')
-rw-r--r-- | builtin/mainmenu/dlg_create_world.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/mainmenu/dlg_create_world.lua b/builtin/mainmenu/dlg_create_world.lua index f0ade0021..31d41d693 100644 --- a/builtin/mainmenu/dlg_create_world.lua +++ b/builtin/mainmenu/dlg_create_world.lua @@ -26,6 +26,7 @@ local function create_world_formspec(dialogdata) local gameidx = 0 if gameid ~= nil then + local _ _, gameidx = pkgmgr.find_by_gameid(gameid) if gameidx == nil then |