Dont show gamefilter in TP tab
authorPilzAdam <pilzadam@minetest.net>
Sun, 4 Aug 2013 16:37:19 +0000 (18:37 +0200)
committerPilzAdam <pilzadam@minetest.net>
Sun, 4 Aug 2013 16:37:19 +0000 (18:37 +0200)
builtin/mainmenu.lua

index 3e3777227210d6299ad21cb2ef2c9ad79b1d70c9..e000e66541fa1f0459ca73981888e3a0482208d0 100644 (file)
@@ -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
 
 --------------------------------------------------------------------------------