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:
parent
acb630095d
commit
bb9fd9defe
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue