From 92d1985802b9b5c8a8ca3540221b078fcaadb697 Mon Sep 17 00:00:00 2001
From: Rui <Rui914@users.noreply.github.com>
Date: Thu, 12 Feb 2015 19:26:26 +0900
Subject: [PATCH] Fix store.lua bug: default screenshot

---
 builtin/mainmenu/store.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;" ..
-- 
GitLab