Correct initial step notification increment
parent
dc154ade90
commit
63426d9b97
|
|
@ -300,7 +300,7 @@ exports.getStats = function(statIDs, options) {
|
||||||
state.notify.dist.next = state.distance + options.notify.dist.increment;
|
state.notify.dist.next = state.distance + options.notify.dist.increment;
|
||||||
}
|
}
|
||||||
if (options.notify.steps.increment > 0) {
|
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) {
|
if (options.notify.time.increment > 0) {
|
||||||
state.notify.time.next = state.startTime + options.notify.time.increment;
|
state.notify.time.next = state.startTime + options.notify.time.increment;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue