Fix bug: texture pack not overriding default menu textures
authorsapier <Sapier at GMX dot net>
Mon, 9 Sep 2013 18:31:47 +0000 (20:31 +0200)
committerKahrl <kahrl@gmx.net>
Tue, 10 Sep 2013 20:51:27 +0000 (22:51 +0200)
builtin/mm_textures.lua

index 02ddf6bcb00cc5d5e8c2b97bc996b5cb04bd3514..998fc219973b251b20ae22ff3baa71b398a86c82 100644 (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