Fix store.lua bug: default screenshot
authorRui <Rui914@users.noreply.github.com>
Thu, 12 Feb 2015 10:26:26 +0000 (19:26 +0900)
committerCraig Robbins <kde.psych@gmail.com>
Sat, 14 Feb 2015 11:00:06 +0000 (21:00 +1000)
builtin/mainmenu/store.lua

index f0ddfce8f7ef80320a67946216d5a8dbe804330c..999125d6e5f53d7f26594286c9a28919df828980 100644 (file)
@@ -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;" ..