Use get_texturepath() instead of get_gamepath()/../textures
parent
75a139e62c
commit
a2380bf76f
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue