ignore type ZVEH from pf data

This commit is contained in:
Matthias Wirth
2019-09-01 15:32:25 +02:00
parent 9a876cb98a
commit 2eba8b1e0d

View File

@@ -2378,9 +2378,9 @@ function fetchPfData() {
plane.pfFlightno = ac.flightno;
if (ac.reg && ac.reg != "????" && ac.reg != "z.NO-REG")
plane.registration = ac.reg;
if (ac.type && ac.type != "????")
if (ac.type && ac.type != "????" && ac.type != "ZVEH")
plane.icaoType = ac.type;
if (plane.icaoType != plane.icaoTypeCache && plane.icaoType != "ZVEH") {
if (plane.icaoType != plane.icaoTypeCache) {
var typeData = _aircraft_type_cache[plane.icaoType];
if (typeData) {
plane.typeDescription = typeData.desc;