mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Fix bug: texture pack not overriding default menu textures
This commit is contained in:
@@ -129,9 +129,8 @@ function mm_texture.set_game(identifier,gamedetails)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if mm_texture.texturepack ~= nil then
|
if mm_texture.texturepack ~= nil then
|
||||||
local path = mm_texture.basetexturedir ..
|
local path = mm_texture.texturepack .. DIR_DELIM ..
|
||||||
gamedetails.id .. "_menu_" .. identifier .. ".png"
|
gamedetails.id .. "_menu_" .. identifier .. ".png"
|
||||||
|
|
||||||
if engine.set_background(identifier,path) then
|
if engine.set_background(identifier,path) then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user