diff --git a/src/Main/options.cxx b/src/Main/options.cxx index fb396de3c..48b6f20b7 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -1168,7 +1168,7 @@ fgOptLivery( const char *arg ) static int fgOptScenario( const char *arg ) { - SGPropertyNode_ptr ai_node = fgGetNode( "/sim/ai", false ); + SGPropertyNode_ptr ai_node = fgGetNode( "/sim/ai", true ); vector scenarii = ai_node->getChildren( "scenario" ); int index = -1; for ( size_t i = 0; i < scenarii.size(); ++i ) {