Properly assigning ttl.

This commit is contained in:
Marat Fayzullin 2023-10-06 22:26:46 -04:00
parent c173d257be
commit 94621c252d
1 changed files with 1 additions and 1 deletions

View File

@ -662,9 +662,9 @@ AircraftMarker.prototype = new Marker();
AircraftMarker.prototype.update = function(update) {
this.lastseen = update.lastseen;
this.ttl = update.ttl;
this.mode = update.mode;
this.comment = update.location.comment;
this.ttl = update.location.ttl;
// HFDL, ACARS, VDL2, ADSB
this.altitude = update.location.altitude;
this.aircraft = update.location.aircraft;