Merge pull request #48 from wiedehopf/track_history_fix

SkyView: Fix aircraft trail handling
This commit is contained in:
Oliver Jowett 2019-08-16 18:46:49 +08:00 committed by GitHub
commit e2761fc21d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 25 deletions

View file

@ -444,7 +444,7 @@ function end_load_history() {
console.log("Updating tracks at: " + now);
for (var i = 0; i < PlanesOrdered.length; ++i) {
var plane = PlanesOrdered[i];
plane.updateTrack((now - last) + 1);
plane.updateTrack(now, last);
}
last = now;