mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 22:52:25 +01:00
Use get_texturepath() instead of get_gamepath()/../textures
This commit is contained in:
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
Block a user