From 4f4a793f80ac339746e5ba1d452b3ee4483b21fe Mon Sep 17 00:00:00 2001 From: Julian Smith Date: Fri, 9 Aug 2019 12:53:12 +0100 Subject: [PATCH] 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. --------------------- --- src/Environment/environment_mgr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Environment/environment_mgr.cxx b/src/Environment/environment_mgr.cxx index 0ed77badf..be2d985f8 100644 --- a/src/Environment/environment_mgr.cxx +++ b/src/Environment/environment_mgr.cxx @@ -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;