diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 4ab65955b..c5415da45 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -880,8 +880,6 @@ bool fgInitGeneral() { sgUserDataInit( globals->get_props() ); - flightgear::delayedSentryInit(); - return true; } diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 5078e1357..48e4a5e73 100755 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -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 ////////////////////////////////////////////////////////////////////