fix first highlights
This commit is contained in:
parent
122c4242ce
commit
d957b19f55
2 changed files with 1 additions and 3 deletions
|
|
@ -47,7 +47,7 @@ export class Cyclist {
|
|||
);
|
||||
}
|
||||
getPhase() {
|
||||
return this.getTime() - this.origin;
|
||||
return this.getTime() - this.origin - this.latency;
|
||||
}
|
||||
setStarted(v) {
|
||||
this.started = v;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
console.log('load time.mjs');
|
||||
let time;
|
||||
export function getTime() {
|
||||
if (!time) {
|
||||
|
|
@ -8,6 +7,5 @@ export function getTime() {
|
|||
}
|
||||
|
||||
export function setTime(func) {
|
||||
console.log('setTime!');
|
||||
time = func;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue