Fix duplicate init of Sentry on reset
This commit is contained in:
parent
73b4c3839d
commit
9d775cdfe7
2 changed files with 3 additions and 2 deletions
|
@ -880,8 +880,6 @@ bool fgInitGeneral() {
|
||||||
|
|
||||||
sgUserDataInit( globals->get_props() );
|
sgUserDataInit( globals->get_props() );
|
||||||
|
|
||||||
flightgear::delayedSentryInit();
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -332,6 +332,9 @@ static void fgIdleFunction ( void ) {
|
||||||
throw sg_exception("General initialization failed");
|
throw sg_exception("General initialization failed");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// now we have commands up
|
||||||
|
flightgear::delayedSentryInit();
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Initialize the property-based built-in commands
|
// Initialize the property-based built-in commands
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Reference in a new issue