Last stop at T+60s
This commit is contained in:
parent
d0c2fb3a63
commit
888845f9d7
|
@ -122,7 +122,7 @@ const fetch = async (kind = 'realtime') => {
|
||||||
if (course.finalStopId === undefined) {
|
if (course.finalStopId === undefined) {
|
||||||
course.finalStopId = lastPassing[0];
|
course.finalStopId = lastPassing[0];
|
||||||
} else if (course.finalStopId !== lastPassing[0]) {
|
} else if (course.finalStopId !== lastPassing[0]) {
|
||||||
course.passings.push([course.finalStopId, lastPassing[1] + 30000]);
|
course.passings.push([course.finalStopId, lastPassing[1] + 60000]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue