Disable inv for now, remove debug stuff from ctf_stats

This commit is contained in:
rubenwardy 2015-11-29 23:55:27 +00:00
parent 9138ce81a9
commit ae6a5e7741
3 changed files with 19 additions and 27 deletions

View file

@ -0,0 +1 @@
ctf

View file

@ -1,3 +1,7 @@
ctf.register_on_init(function()
ctf._set("inventory", false)
end)
local fs = "size[8,8.5]" ..
"bgcolor[#080808BB;true]" ..
"background[5,5;1,1;gui_formbg.png;true]" ..
@ -39,5 +43,7 @@ fs = fs ..
"image[7,4.25;1,1;gui_hb_bg.png]"
minetest.register_on_joinplayer(function(player)
player:set_inventory_formspec(fs)
if ctf.setting("inventory") then
player:set_inventory_formspec(fs)
end
end)