diff options
Diffstat (limited to 'builtin/mainmenu.lua')
-rw-r--r-- | builtin/mainmenu.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua index f8556a388..ecbcce1a0 100644 --- a/builtin/mainmenu.lua +++ b/builtin/mainmenu.lua @@ -253,7 +253,7 @@ function menu.init() menu.favorites = engine.get_favorites("local") end - menu.defaulttexturedir = engine.get_texturepath() .. DIR_DELIM .. "base" .. + menu.defaulttexturedir = engine.get_texturepath_share() .. DIR_DELIM .. "base" .. DIR_DELIM .. "pack" .. DIR_DELIM end @@ -1070,8 +1070,7 @@ function tabbuilder.tab_texture_packs() local no_screenshot = nil if not file_exists(screenfile) then screenfile = nil - no_screenshot = engine.get_texturepath()..DIR_DELIM.. - "base"..DIR_DELIM.."pack"..DIR_DELIM.."no_screenshot.png" + no_screenshot = menu.defaulttexturedir .. "no_screenshot.png" end return retval .. |