1
0
Fork 0

Fix duplicate init of Sentry on reset

This commit is contained in:
Automatic Release Builder 2020-08-23 20:33:23 +01:00 committed by James Turner
parent 73b4c3839d
commit 9d775cdfe7
2 changed files with 3 additions and 2 deletions

View file

@ -880,8 +880,6 @@ bool fgInitGeneral() {
sgUserDataInit( globals->get_props() );
flightgear::delayedSentryInit();
return true;
}

View file

@ -332,6 +332,9 @@ static void fgIdleFunction ( void ) {
throw sg_exception("General initialization failed");
}
// now we have commands up
flightgear::delayedSentryInit();
////////////////////////////////////////////////////////////////////
// Initialize the property-based built-in commands
////////////////////////////////////////////////////////////////////