diff options
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/mainmenu/pkgmgr.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/mainmenu/pkgmgr.lua b/builtin/mainmenu/pkgmgr.lua index db62fcd50..3c5762661 100644 --- a/builtin/mainmenu/pkgmgr.lua +++ b/builtin/mainmenu/pkgmgr.lua @@ -82,9 +82,9 @@ local function load_texture_packs(txtpath, retval) local conf = Settings(path .. "texture_pack.conf") local enabled = path == current_texture_path - local title = conf:get("title") - -- list_* is only used if non-nil, else the regular versions are used. + local title = conf:get("title") or item + -- list_* is only used if non-nil, else the regular versions are used. retval[#retval + 1] = { name = item, title = title, |