bugfix: ignore count column in total score
This commit is contained in:
parent
abd6806e42
commit
0885d79aed
|
@ -1,7 +1,7 @@
|
|||
score = function(t, team)
|
||||
local result = 0
|
||||
for opp, score in pairs(t[team]) do
|
||||
if type(score) == 'number' then
|
||||
if opp ~= 'count' and type(score) == 'number' then
|
||||
result = result + score
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue