make sure the "nasal" subsystem is one of the last to be removed. That
way it can still process listener code during shutdown.
This commit is contained in:
parent
00f3d1db80
commit
c4463b311c
1 changed files with 1 additions and 1 deletions
|
@ -1780,7 +1780,7 @@ bool fgInitSubsystems() {
|
||||||
// Do this last, so that the loaded scripts see initialized state
|
// Do this last, so that the loaded scripts see initialized state
|
||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
FGNasalSys* nasal = new FGNasalSys();
|
FGNasalSys* nasal = new FGNasalSys();
|
||||||
globals->add_subsystem("nasal", nasal);
|
globals->add_subsystem("nasal", nasal, SGSubsystemMgr::INIT);
|
||||||
nasal->init();
|
nasal->init();
|
||||||
|
|
||||||
// initialize methods that depend on other subsystems.
|
// initialize methods that depend on other subsystems.
|
||||||
|
|
Loading…
Reference in a new issue