Fix tab_mods.lua: default screenshot patch
authorRui <Rui914@users.noreply.github.com>
Wed, 11 Feb 2015 04:42:58 +0000 (13:42 +0900)
committerLoic Blot <loic.blot@unix-experience.fr>
Thu, 12 Feb 2015 10:31:34 +0000 (11:31 +0100)
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