Fix bug: texture pack not overriding default menu textures
This commit is contained in:
parent
e0f9f15d1d
commit
681e136d5f
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user