diff --git a/AircraftConfig/acconfig.nas b/AircraftConfig/acconfig.nas
index ee17ff7a..99980a16 100644
--- a/AircraftConfig/acconfig.nas
+++ b/AircraftConfig/acconfig.nas
@@ -117,6 +117,13 @@ var mismatch_chk = func {
error_mismatch.open();
}
print("Mismatch: 0x121");
+ } else if (getprop("/gear/gear[0]/wow") == 0 or getprop("/position/altitude-ft") >= 50000 or getprop("/systems/acconfig/libraries-loaded") == 0) {
+ setprop("/systems/acconfig/mismatch-code", "0x223");
+ setprop("/systems/acconfig/mismatch-reason", "Aircraft initialization failed");
+ if (getprop("/systems/acconfig/out-of-date") != 1) {
+ error_mismatch.open();
+ }
+ print("Mismatch: 0x223");
}
}
diff --git a/AircraftConfig/error-mismatch.xml b/AircraftConfig/error-mismatch.xml
index f29a8a2b..97651955 100644
--- a/AircraftConfig/error-mismatch.xml
+++ b/AircraftConfig/error-mismatch.xml
@@ -88,7 +88,11 @@
left
-
+
+
+
+ left
+
diff --git a/Nasal/libraries.nas b/Nasal/libraries.nas
index 76491ba3..5e8adffd 100644
--- a/Nasal/libraries.nas
+++ b/Nasal/libraries.nas
@@ -404,3 +404,5 @@ var noseLoop = maketimer(0.1, func {
# do nothing
}
});
+
+setprop("/systems/acconfig/libraries-loaded", 1);
diff --git a/revision.txt b/revision.txt
index f083bc3c..98be9308 100644
--- a/revision.txt
+++ b/revision.txt
@@ -1 +1 @@
-1516
\ No newline at end of file
+1517
\ No newline at end of file