Add short description for disabled texture packs
authorWuzzy <almikes@aol.com>
Sat, 5 Nov 2016 17:58:00 +0000 (18:58 +0100)
committerparamat <mat.gregory@virginmedia.com>
Sun, 13 Aug 2017 20:35:53 +0000 (21:35 +0100)
builtin/mainmenu/tab_texturepacks.lua

index 2957481cf0abeae0adaacf27f16ccaf0f0027c6b..3e67ac5ac4fab711b3bcb66eed69fe6814519fb5 100644 (file)
@@ -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