From 480d5f2d51ca8f7c4400b0918bb53b776e4ff440 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sun, 24 Apr 2022 22:59:19 +0100 Subject: [PATCH] Fix texture packs not showing as enabled in mainmenu Fixes #12219 --- builtin/mainmenu/pkgmgr.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/mainmenu/pkgmgr.lua b/builtin/mainmenu/pkgmgr.lua index 8907aecfc..db62fcd50 100644 --- a/builtin/mainmenu/pkgmgr.lua +++ b/builtin/mainmenu/pkgmgr.lua @@ -80,7 +80,7 @@ local function load_texture_packs(txtpath, retval) if item ~= "base" then local path = txtpath .. DIR_DELIM .. item .. DIR_DELIM local conf = Settings(path .. "texture_pack.conf") - local enabled = conf == current_texture_path + local enabled = path == current_texture_path local title = conf:get("title") -- list_* is only used if non-nil, else the regular versions are used.