aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorRui <Rui914@users.noreply.github.com>2015-02-12 19:26:26 +0900
committerLoic Blot <loic.blot@unix-experience.fr>2015-02-12 11:32:42 +0100
commit92d1985802b9b5c8a8ca3540221b078fcaadb697 (patch)
treea14073ae627a6813b2ebf5112b426b62adddf6e0 /builtin
parent14cc2c23d7dfbbe46450e092fbc6cd060767c81c (diff)
downloadminetest-92d1985802b9b5c8a8ca3540221b078fcaadb697.tar.gz
minetest-92d1985802b9b5c8a8ca3540221b078fcaadb697.tar.bz2
minetest-92d1985802b9b5c8a8ca3540221b078fcaadb697.zip
Fix store.lua bug: default screenshot
Diffstat (limited to 'builtin')
-rw-r--r--builtin/mainmenu/store.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mainmenu/store.lua b/builtin/mainmenu/store.lua
index b46027627..ad861082d 100644
--- a/builtin/mainmenu/store.lua
+++ b/builtin/mainmenu/store.lua
@@ -387,7 +387,7 @@ function modstore.getscreenshot(ypos,listentry)
listentry.details.screenshot_url == "") then
if listentry.texturename == nil then
- listentry.texturename = modstore.basetexturedir .. "no_screenshot.png"
+ listentry.texturename = defaulttexturedir .. "no_screenshot.png"
end
return "image[0,".. ypos .. ";3,2;" ..