From: Steinar H. Gunderson Date: Sat, 22 Jul 2023 19:18:03 +0000 (+0200) Subject: Count interceptions towards (successful) catches. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=a99f0e230c64ab728c9a83008b89e77893809c1f;p=pkanalytics Count interceptions towards (successful) catches. --- 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; }