Fix tab_mods.lua: default screenshot patch
authorRui <Rui914@users.noreply.github.com>
Wed, 11 Feb 2015 04:42:58 +0000 (13:42 +0900)
committerCraig Robbins <kde.psych@gmail.com>
Sat, 14 Feb 2015 11:00:01 +0000 (21:00 +1000)
https://forum.minetest.net/viewtopic.php?f=6&t=11201
Fixed this bug.

builtin/mainmenu/tab_mods.lua

index d16ecca8c79e2834b6a7dd58b1c4a8963e525d57..e00f580bb241cb2e89bde26e8e66e3407ce595ec 100644 (file)
@@ -57,7 +57,7 @@ local function get_formspec(tabview, name, tabdata)
                end
 
                if modscreenshot == nil then
-                               modscreenshot = modstore.basetexturedir .. "no_screenshot.png"
+                               modscreenshot = defaulttexturedir .. "no_screenshot.png"
                end
 
                retval = retval