Remove leftover debug messages from 2653a09

This commit is contained in:
ANAND 2019-11-08 08:00:46 +05:30
parent 6662139380
commit 28189920d4
No known key found for this signature in database
GPG key ID: 3AD8A3C4A51AAB97

View file

@ -57,23 +57,19 @@ local function update_lowest()
lowest.team = tname lowest.team = tname
end end
end end
print("\nlowest = " .. dump(lowest) .. "\n")
end end
local function calc_scores() local function calc_scores()
-- Update the cumulative score of all teams -- Update the cumulative score of all teams
print("\n[calc_scores]")
for tname, team in pairs(ctf.teams) do for tname, team in pairs(ctf.teams) do
local score = 0 local score = 0
for pname, _ in pairs(team.players) do for pname, _ in pairs(team.players) do
score = score + ctf_stats.player(pname).score score = score + ctf_stats.player(pname).score
end end
scores[tname] = score scores[tname] = score
print("\t" .. tname .. " = " .. score)
end end
update_lowest() update_lowest()
print("[calc_scores] ********\n")
end end
-- Override team-allocation logic -- Override team-allocation logic