From 3fd84edb615692cc26ea9528fb7b68387f6c471f Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Sun, 4 Aug 2013 18:37:19 +0200 Subject: [PATCH] Dont show gamefilter in TP tab --- builtin/mainmenu.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua index 3e3777227..e000e6654 100644 --- a/builtin/mainmenu.lua +++ b/builtin/mainmenu.lua @@ -1006,8 +1006,7 @@ function tabbuilder.tab_TP() "vertlabel[0,-0.25;TEXTURE PACKS]" .. "textlist[4,0.25;7.5,5.0;TPs;" .. menu.render_TP_list(TPlist) .. - ";" .. index .. "]" .. - menubar.formspec + ";" .. index .. "]" end local TPinfofile = TPpath..DIR_DELIM.."info.txt" local f = io.open(TPinfofile, "r") @@ -1034,8 +1033,7 @@ function tabbuilder.tab_TP() menu.render_TP_list(TPlist) .. ";" .. index .. "]" .. "image[0.65,0.25;4.0,3.7;"..(menu.TPscreen or no_screenshot).."]".. - "textarea[1.0,3.25;3.7,1.5;;"..(menu.TPinfo or "")..";]".. - menubar.formspec + "textarea[1.0,3.25;3.7,1.5;;"..(menu.TPinfo or "")..";]" end --------------------------------------------------------------------------------