pace: compensate for next split

master
Rob Pilling 2024-10-10 18:02:59 +01:00
parent 160093a07b
commit 09a46eccfd
1 changed files with 3 additions and 0 deletions

View File

@ -182,6 +182,9 @@ exs.stats.dist.on("notify", (dist) => {
thisTime = 0; // if we've jumped more than 1k, credit the time to the first split thisTime = 0; // if we've jumped more than 1k, credit the time to the first split
thisSplit -= 1000; thisSplit -= 1000;
} }
// subtract <how much we're over> off the next split notify
exs.state.notify.dist.next -= thisSplit;
}); });
Bangle.on('lock', locked => { Bangle.on('lock', locked => {