aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
Diffstat (limited to 'builtin')
-rw-r--r--builtin/mainmenu/dlg_create_world.lua1
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