From 681e136d5f8a6847a356f2ef53c4c28123a4cbae Mon Sep 17 00:00:00 2001 From: sapier Date: Mon, 9 Sep 2013 20:31:47 +0200 Subject: Fix bug: texture pack not overriding default menu textures --- builtin/mm_textures.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/builtin/mm_textures.lua b/builtin/mm_textures.lua index 02ddf6bcb..998fc2199 100644 --- a/builtin/mm_textures.lua +++ b/builtin/mm_textures.lua @@ -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 -- cgit v1.2.3