From a99f0e230c64ab728c9a83008b89e77893809c1f Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 22 Jul 2023 21:18:03 +0200 Subject: [PATCH] Count interceptions towards (successful) catches. --- ultimate.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ultimate.js b/ultimate.js index cfcdf2e..57155db 100644 --- a/ultimate.js +++ b/ultimate.js @@ -178,7 +178,6 @@ function process_matches(json, filters) { 'stallouts': 0, 'defenses': 0, - 'interceptions': 0, 'points_played': 0, 'playing_time_ms': 0, 'offensive_playing_time_ms': 0, @@ -528,7 +527,7 @@ function process_matches(json, filters) { if (keep) ++p.defenses; } else if (type === 'interception') { if (keep) { - ++p.interceptions; + ++p.catches; ++p.defenses; ++p.touches; } -- 2.39.2