Change plane color if we have not seen a recent position update

(previously, any type of message was enough).
This commit is contained in:
Oliver Jowett 2015-01-11 12:15:54 +00:00
parent 55a10e6685
commit 0b5aac47c4
2 changed files with 4 additions and 2 deletions
public_html

View file

@ -189,8 +189,8 @@ PlaneObject.prototype.updateIcon = function() {
if (this.selected)
col = SelectedColor;
// If we have not seen a recent update, change color
if (this.seen > 15)
// If we have not seen a recent position update, change color
if (this.seen_pos > 15)
col = StaleColor;
// If the squawk code is one of the international emergency codes,