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