Fix texture packs not showing as enabled in mainmenu

Fixes #12219
master
rubenwardy 2022-04-24 22:59:19 +01:00
parent a6170963b8
commit 480d5f2d51
1 changed files with 1 additions and 1 deletions

View File

@ -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.