aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-11-05 18:58:00 +0100
committerparamat <mat.gregory@virginmedia.com>2017-08-13 21:35:53 +0100
commitfa7fe405095cbcdcdca3cf953a036bfd85d5b21d (patch)
tree917b166669f3b30b6037771da41b250b1f830cf6
parent028c9f899f291402cd839fd56ec571b4dee43df3 (diff)
downloadminetest-fa7fe405095cbcdcdca3cf953a036bfd85d5b21d.tar.gz
minetest-fa7fe405095cbcdcdca3cf953a036bfd85d5b21d.tar.bz2
minetest-fa7fe405095cbcdcdca3cf953a036bfd85d5b21d.zip
Add short description for disabled texture packs
-rw-r--r--builtin/mainmenu/tab_texturepacks.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/builtin/mainmenu/tab_texturepacks.lua b/builtin/mainmenu/tab_texturepacks.lua
index 2957481cf..3e67ac5ac 100644
--- a/builtin/mainmenu/tab_texturepacks.lua
+++ b/builtin/mainmenu/tab_texturepacks.lua
@@ -63,7 +63,10 @@ local function get_formspec(tabview, name, tabdata)
if current_texture_path == "" then
retval = retval ..
render_texture_pack_list(list) ..
- ";" .. index .. "]"
+ ";" .. index .. "]" ..
+ "textarea[0.6,2.85;3.7,1.5;;" ..
+ fgettext("Default textures will be used.") ..
+ ";]"
return retval
end