Remove leftover debug messages from 2653a09
This commit is contained in:
parent
6662139380
commit
28189920d4
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue