Browse Source

Fix texture packs not showing as enabled in mainmenu

Fixes #12219
rubenwardy 2 years ago
parent
commit
480d5f2d51
1 changed files with 1 additions and 1 deletions
  1. 1 1
      builtin/mainmenu/pkgmgr.lua

+ 1 - 1
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.