diff --git a/src/Main/globals.cxx b/src/Main/globals.cxx index d41e00d5f..8812564a1 100644 --- a/src/Main/globals.cxx +++ b/src/Main/globals.cxx @@ -91,6 +91,11 @@ public: if (r.exists()) { return r; + } else { + // Stop here, otherwise we could end up returning a resource that + // belongs to an unrelated version of the same aircraft (from a + // different aircraft directory). + return SGPath(); } }