From: sapier Date: Mon, 9 Sep 2013 18:31:47 +0000 (+0200) Subject: Fix bug: texture pack not overriding default menu textures X-Git-Tag: 0.4.8~136 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=681e136d5f8a6847a356f2ef53c4c28123a4cbae;p=oweals%2Fminetest.git Fix bug: texture pack not overriding default menu textures --- 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