1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-29 14:45:20 +01:00

Fix store.lua bug: default screenshot

This commit is contained in:
Rui
2015-02-12 19:26:26 +09:00
committed by Craig Robbins
parent 7f07858209
commit c7249f5983

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