Remove unnecessary logging

master
rubenwardy 2015-09-08 14:08:51 +01:00
parent b8b6ff76e7
commit 59a3d275bc
2 changed files with 0 additions and 4 deletions

View File

@ -91,7 +91,6 @@ function ctf.new_player(name)
ctf.error("team", "Can't create a blank player") ctf.error("team", "Can't create a blank player")
ctf.log("team", debug.traceback()) ctf.log("team", debug.traceback())
end end
ctf.log("team", "Creating player " .. name)
ctf.players[name] = { ctf.players[name] = {
name = name name = name
} }
@ -241,8 +240,6 @@ end
-- Automatic Allocation -- Automatic Allocation
function ctf.autoalloc(name, alloc_mode) function ctf.autoalloc(name, alloc_mode)
ctf.log("autoalloc", "Getting autoallocation for " .. name)
if alloc_mode == 0 then if alloc_mode == 0 then
return return
end end

View File

@ -70,7 +70,6 @@ function ctf_flag.register_on_pick_up(func)
end end
function ctf_flag.collect_claimed() function ctf_flag.collect_claimed()
ctf.log("flag", "Collecting claimed locations")
local claimed = {} local claimed = {}
for _, team in pairs(ctf.teams) do for _, team in pairs(ctf.teams) do
for i = 1, #team.flags do for i = 1, #team.flags do