mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +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
|
||||
|
||||
if mm_texture.texturepack ~= nil then
|
||||
local path = mm_texture.basetexturedir ..
|
||||
local path = mm_texture.texturepack .. DIR_DELIM ..
|
||||
gamedetails.id .. "_menu_" .. identifier .. ".png"
|
||||
|
||||
if engine.set_background(identifier,path) then
|
||||
return true
|
||||
end
|
||||
|
Reference in New Issue
Block a user