aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu
diff options
context:
space:
mode:
authorRui <Rui914@users.noreply.github.com>2015-02-12 19:26:26 +0900
committerCraig Robbins <kde.psych@gmail.com>2015-02-14 21:00:06 +1000
commitc7249f59833c42faf5407108a25bd65bae893b95 (patch)
tree62f7392fa608916af0ec31a5e9a482d78dce4370 /builtin/mainmenu
parent7f078582094b6fef067294b4db7a58abc65ed2c6 (diff)
downloadminetest-c7249f59833c42faf5407108a25bd65bae893b95.tar.gz
minetest-c7249f59833c42faf5407108a25bd65bae893b95.tar.bz2
minetest-c7249f59833c42faf5407108a25bd65bae893b95.zip
Fix store.lua bug: default screenshot
Diffstat (limited to 'builtin/mainmenu')
-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 f0ddfce8f..999125d6e 100644
--- a/builtin/mainmenu/store.lua
+++ b/builtin/mainmenu/store.lua
@@ -391,7 +391,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;" ..