X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ultimate.js;h=0040e7a581c151024b51d227610abc3cd4dcd5d5;hb=682a5b0238693a7124739423995a2b858b8c37b9;hp=7e54560141821432b3a65f154dca8168a3b08fdd;hpb=23204bb5a83dbbebe6151f414fd47d1eb1beef78;p=pkanalytics diff --git a/ultimate.js b/ultimate.js index 7e54560..0040e7a 100644 --- a/ultimate.js +++ b/ultimate.js @@ -370,7 +370,9 @@ function calc_stats(json, filters) { // Liveness management if (type === 'pull' || type === 'their_pull' || type === 'restart') { live_since = t; - between_points = false; + if (type !== 'restart') { + between_points = false; + } } else if (type === 'catch' && last_pull_was_ours === null) { // Someone forgot to add the pull, so we'll need to wing it. console.log(match['description'] + ' ' + format_time(t) + ': Missing pull on ' + our_score + '\u2013' + their_score + '; pretending to have one.');