From 082066e81393618152c279cccb98e0a05a0aebea Mon Sep 17 00:00:00 2001 From: DS Date: Wed, 14 Aug 2019 23:35:47 +0200 Subject: [PATCH] Fix undeclared global warning because of _ (#8798) --- builtin/mainmenu/dlg_create_world.lua | 1 + 1 file changed, 1 insertion(+) 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 -- 2.25.1