aboutsummaryrefslogtreecommitdiff
path: root/builtin/mm_textures.lua
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2013-08-16 17:37:01 +0200
committerPilzAdam <pilzadam@minetest.net>2013-08-16 17:44:39 +0200
commita2380bf76fb8fb0c8429a33d1af936afb09d3db4 (patch)
treed3baea86e000a28c855297ebe6cc33369954e5ea /builtin/mm_textures.lua
parent75a139e62cccd7c2b053a1ae6ed7f0fed5abdf63 (diff)
downloadminetest-a2380bf76fb8fb0c8429a33d1af936afb09d3db4.tar.gz
minetest-a2380bf76fb8fb0c8429a33d1af936afb09d3db4.tar.bz2
minetest-a2380bf76fb8fb0c8429a33d1af936afb09d3db4.zip
Use get_texturepath() instead of get_gamepath()/../textures
Diffstat (limited to 'builtin/mm_textures.lua')
-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 92a581164..02ddf6bcb 100644
--- a/builtin/mm_textures.lua
+++ b/builtin/mm_textures.lua
@@ -20,8 +20,7 @@ mm_texture = {}
--------------------------------------------------------------------------------
function mm_texture.init()
- mm_texture.defaulttexturedir = engine.get_gamepath() .. DIR_DELIM .. ".." ..
- DIR_DELIM .. "textures" .. DIR_DELIM .. "base" ..
+ mm_texture.defaulttexturedir = engine.get_texturepath() .. DIR_DELIM .. "base" ..
DIR_DELIM .. "pack" .. DIR_DELIM
mm_texture.basetexturedir = mm_texture.defaulttexturedir