fix aircraft not being cleared off the map

This commit is contained in:
Matthias Wirth
2022-07-26 13:40:26 +02:00
parent 9e50567cf9
commit dc2af3d243
2 changed files with 2 additions and 2 deletions

View File

@@ -2715,7 +2715,7 @@ PlaneObject.prototype.checkVisible = function() {
return (!globeIndex || this.inView || this.selected || SelectedAllPlanes) && (
(!globeIndex && this.seen < (58 - tisbReduction + jaeroTime + refreshInt()))
(!globeIndex && this.seen < (58 - tisbReduction + jaeroTime + refreshInt() / 1000))
|| (globeIndex && this.seen_pos < (40 + jaeroTime + mlatTime + modeSTime - tisbReduction + refreshInt()) && now - this.last_info_server < noInfoTimeout)
|| this.selected
|| noVanish