1
0
Fork 0

Fix a bug with updating packages.

- always refresh the catalogs each launch, so we don’t get mismatches
  between the cached copy the and package zips.
This commit is contained in:
James Turner 2016-01-26 16:46:58 +00:00
parent acb630095d
commit bb9fd9defe

View file

@ -149,7 +149,10 @@ void FGHTTPClient::init()
packageRoot->addDelegate(_packageDelegate.get());
// start a refresh now
packageRoot->refresh();
// setting 'force' true to work around the problem where a slightly stale
// catalog exists, but aircraft are modified - this causes an MD5 sum
// mismatch
packageRoot->refresh(true);
}
_inited = true;