From a2380bf76fb8fb0c8429a33d1af936afb09d3db4 Mon Sep 17 00:00:00 2001 From: Novatux Date: Fri, 16 Aug 2013 17:37:01 +0200 Subject: Use get_texturepath() instead of get_gamepath()/../textures --- builtin/mm_textures.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'builtin/mm_textures.lua') 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 -- cgit v1.2.3