Don't update icao in updateData, it should never change.

This commit is contained in:
Oliver Jowett 2015-01-07 21:15:34 +00:00
parent 25ff88c252
commit b4de83090d

View file

@ -216,7 +216,6 @@ PlaneObject.prototype.updateIcon = function() {
// Update our data // Update our data
PlaneObject.prototype.updateData = function(receiver_timestamp, data) { PlaneObject.prototype.updateData = function(receiver_timestamp, data) {
// Update all of our data // Update all of our data
this.icao = data.hex;
this.messages = data.messages; this.messages = data.messages;
this.last_message_time = receiver_timestamp - data.seen; this.last_message_time = receiver_timestamp - data.seen;