summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2024-02-24 17:00:33 +0100
committeremkael <emkael@tlen.pl>2024-02-24 17:00:33 +0100
commit4f7f0144b149cde712cd424fd1f26ca48be3c4c5 (patch)
treede023eccfb2c172bfa1ea9388df0b078ad59999c
parenteb6a3fd194c9cfdd676b231608e4d33d0c3e4cd9 (diff)
Including toweled segments in JFR board count
-rw-r--r--jfr_playoff/data/match/jfrhtml.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/jfr_playoff/data/match/jfrhtml.py b/jfr_playoff/data/match/jfrhtml.py
index 5285a8a..46a197b 100644
--- a/jfr_playoff/data/match/jfrhtml.py
+++ b/jfr_playoff/data/match/jfrhtml.py
@@ -190,6 +190,7 @@ class JFRHtmlMatchInfo(MatchInfoClient):
len(segments) + len(towels) + len(running_segments)) \
* boards_in_segment
played_boards += running_boards
+ played_boards += len(towels) * boards_in_segment
PlayoffLogger.get('match.jfrhtml').info(
'board count: %d/%d', played_boards, total_boards)
return played_boards, total_boards