Fix bug: texture pack not overriding default menu textures

master
sapier 2013-09-09 20:31:47 +02:00 committed by Kahrl
parent e0f9f15d1d
commit 681e136d5f
1 changed files with 1 additions and 2 deletions

View File

@ -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