From 0885d79aed10cb8c87085c6847000407cf896574 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 25 Apr 2024 21:45:08 -0700 Subject: [PATCH] bugfix: ignore count column in total score --- 0010-score | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0010-score b/0010-score index d4d6047..215f382 100644 --- a/0010-score +++ b/0010-score @@ -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