Disable inv for now, remove debug stuff from ctf_stats
This commit is contained in:
parent
9138ce81a9
commit
ae6a5e7741
3 changed files with 19 additions and 27 deletions
1
mods/ctf_inventory/depends.txt
Normal file
1
mods/ctf_inventory/depends.txt
Normal file
|
@ -0,0 +1 @@
|
|||
ctf
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue