X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ultimate.js;fp=ultimate.js;h=4e0797758a5c782e93eef88000d9cbc7dfe54338;hb=dc51214341131af158dfd0b7df4c32bc294ddf20;hp=cb03126696ebb27c98b071cdd17c0d5e302a68f5;hpb=90b51a9bdc21a5f8a90e4b54ec7deefab8fd39f5;p=pkanalytics diff --git a/ultimate.js b/ultimate.js index cb03126..4e07977 100644 --- a/ultimate.js +++ b/ultimate.js @@ -391,10 +391,6 @@ function calc_stats(json, filters) { last_pull_was_ours = !offense; between_points = false; } else if (type === 'goal' || type === 'their_goal' || type === 'stoppage') { - if (type === 'goal') { - if (keep) ++p.touches; - ++touches_this_possession; - } for (const [q,p] of Object.entries(players)) { if (p.on_field_since === null) { continue;