... | ... |
@@ -108,9 +108,7 @@ displayClass.MFD = { |
108 | 108 |
var xml = call(func (path) io.readxml(path), [ data.flightplans ~ '/' ~ file ], me, {}, var errors = []); |
109 | 109 |
if (size(errors)) |
110 | 110 |
continue; |
111 |
- if (xml.getNode('/PropertyList/flight-rules') != nil |
|
112 |
- and xml.getNode('/PropertyList/flight-type') != nil |
|
113 |
- and xml.getNode('/PropertyList/departure/airport') != nil |
|
111 |
+ if (xml.getNode('/PropertyList/departure/airport') != nil |
|
114 | 112 |
and xml.getNode('/PropertyList/destination/airport') != nil |
115 | 113 |
and xml.getNode('/PropertyList/departure').getValue('airport') == departure) { |
116 | 114 |
append(obj_infos, { |