Use get_texturepath() instead of get_gamepath()/../textures

master
Novatux 2013-08-16 17:37:01 +02:00 committed by PilzAdam
parent 75a139e62c
commit a2380bf76f
2 changed files with 2 additions and 4 deletions

View File

@ -20,8 +20,7 @@ mm_texture = {}
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
function mm_texture.init() function mm_texture.init()
mm_texture.defaulttexturedir = engine.get_gamepath() .. DIR_DELIM .. ".." .. mm_texture.defaulttexturedir = engine.get_texturepath() .. DIR_DELIM .. "base" ..
DIR_DELIM .. "textures" .. DIR_DELIM .. "base" ..
DIR_DELIM .. "pack" .. DIR_DELIM DIR_DELIM .. "pack" .. DIR_DELIM
mm_texture.basetexturedir = mm_texture.defaulttexturedir mm_texture.basetexturedir = mm_texture.defaulttexturedir

View File

@ -29,8 +29,7 @@ function modstore.init()
modstore.modsperpage = 5 modstore.modsperpage = 5
modstore.basetexturedir = engine.get_gamepath() .. DIR_DELIM .. ".." .. modstore.basetexturedir = engine.get_texturepath() .. DIR_DELIM .. "base" ..
DIR_DELIM .. "textures" .. DIR_DELIM .. "base" ..
DIR_DELIM .. "pack" .. DIR_DELIM DIR_DELIM .. "pack" .. DIR_DELIM
modstore.current_list = nil modstore.current_list = nil