mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
parent
a6170963b8
commit
480d5f2d51
@ -80,7 +80,7 @@ local function load_texture_packs(txtpath, retval)
|
|||||||
if item ~= "base" then
|
if item ~= "base" then
|
||||||
local path = txtpath .. DIR_DELIM .. item .. DIR_DELIM
|
local path = txtpath .. DIR_DELIM .. item .. DIR_DELIM
|
||||||
local conf = Settings(path .. "texture_pack.conf")
|
local conf = Settings(path .. "texture_pack.conf")
|
||||||
local enabled = conf == current_texture_path
|
local enabled = path == current_texture_path
|
||||||
|
|
||||||
local title = conf:get("title")
|
local title = conf:get("title")
|
||||||
-- list_* is only used if non-nil, else the regular versions are used.
|
-- list_* is only used if non-nil, else the regular versions are used.
|
||||||
|
Loading…
Reference in New Issue
Block a user