aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2013-09-09 20:31:47 +0200
committerKahrl <kahrl@gmx.net>2013-09-10 22:51:27 +0200
commit681e136d5f8a6847a356f2ef53c4c28123a4cbae (patch)
tree252fb8a5e31dd2ff60e7cd0ec4813fb10ecbc243
parente0f9f15d1dcc2bdfc260a5503eced1294d4317bc (diff)
downloadminetest-681e136d5f8a6847a356f2ef53c4c28123a4cbae.tar.gz
minetest-681e136d5f8a6847a356f2ef53c4c28123a4cbae.tar.bz2
minetest-681e136d5f8a6847a356f2ef53c4c28123a4cbae.zip
Fix bug: texture pack not overriding default menu textures
-rw-r--r--builtin/mm_textures.lua3
1 files changed, 1 insertions, 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