Fix undeclared global warning because of _ (#8798)
authorDS <vorunbekannt75@web.de>
Wed, 14 Aug 2019 21:35:47 +0000 (23:35 +0200)
committersfan5 <sfan5@live.de>
Wed, 14 Aug 2019 21:35:47 +0000 (23:35 +0200)
builtin/mainmenu/dlg_create_world.lua

index f0ade00216e5270dbb57e3a165d64783612b0bc8..31d41d693ce98b44ab4c4eab02482c308499a256 100644 (file)
@@ -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