diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index be2598893..73217c258 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -607,6 +607,7 @@ bool fgInitConfig ( int argc, char **argv ) { SGPath config( homedir ); config.append( ".fgfs" ); #endif + fgSetString("/sim/fg-home", config.c_str()); config.append( "autosave.xml" ); SG_LOG(SG_INPUT, SG_INFO, "Reading user settings from autosave.xml"); try {