Launcher: fix aircraft hanagr paths
Avoid a warning by explicitly appending Aircraft suffix.
This commit is contained in:
parent
ef96808a18
commit
0a6c4aaf7a
1 changed files with 2 additions and 2 deletions
|
@ -380,8 +380,8 @@ void AddOnsController::collectArgs()
|
|||
|
||||
// add hangars as aircraft paths, so they are available for MP model searching
|
||||
for (const auto& catRef : globals->packageRoot()->catalogs()) {
|
||||
const auto catPath = catRef->installRoot().utf8Str();
|
||||
m_config->setArg("fg-aircraft", QString::fromStdString(catPath));
|
||||
const auto catAircraftPath = catRef->installRoot() / "Aircraft";
|
||||
m_config->setArg("fg-aircraft", QString::fromStdString(catAircraftPath.utf8Str()));
|
||||
}
|
||||
|
||||
// add-on module paths
|
||||
|
|
Loading…
Reference in a new issue