Correct initial step notification increment

pull/1545/head
Salim Blume 2022-03-05 02:08:22 -06:00
parent dc154ade90
commit 63426d9b97
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ exports.getStats = function(statIDs, options) {
state.notify.dist.next = state.distance + options.notify.dist.increment;
}
if (options.notify.steps.increment > 0) {
state.notify.steps.next = state.startTime + options.notify.steps.increment;
state.notify.steps.next = state.startSteps + options.notify.steps.increment;
}
if (options.notify.time.increment > 0) {
state.notify.time.next = state.startTime + options.notify.time.increment;