Don't update icao in updateData, it should never change.
This commit is contained in:
parent
25ff88c252
commit
b4de83090d
|
@ -216,7 +216,6 @@ PlaneObject.prototype.updateIcon = function() {
|
|||
// Update our data
|
||||
PlaneObject.prototype.updateData = function(receiver_timestamp, data) {
|
||||
// Update all of our data
|
||||
this.icao = data.hex;
|
||||
this.messages = data.messages;
|
||||
this.last_message_time = receiver_timestamp - data.seen;
|
||||
|
||||
|
|
Loading…
Reference in a new issue