src/Environment/environment_mgr.cxx: update nearest tower more frequently.
Changed interval from 30s to 10s - it appears to take only around 0.1ms so this seems ok and improves the user experience. ---------------------
This commit is contained in:
parent
a89fbc40aa
commit
4f4a793f80
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ SGSubsystem::InitStatus FGEnvironmentMgr::incrementalInit()
|
|||
fgClouds->Init();
|
||||
_multiplayerListener = new FGEnvironmentMgrMultiplayerListener(this);
|
||||
globals->get_event_mgr()->addTask("updateClosestAirport", this,
|
||||
&FGEnvironmentMgr::updateClosestAirport, 30 );
|
||||
&FGEnvironmentMgr::updateClosestAirport, 10 );
|
||||
}
|
||||
|
||||
return r;
|
||||
|
|
Loading…
Reference in a new issue