diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2017-09-04 14:27:46 +0300 |
---|---|---|
committer | Vladimir Byko-Ianko <bykoianko@gmail.com> | 2017-09-04 15:32:25 +0300 |
commit | 2b7f48a35818fe3d389304753d28f58027e88285 (patch) | |
tree | 7481789b6fdeb928031fbf04688cc6a09d255fae | |
parent | 0545c3c72fbafedcbb24869c8a66aea1868adda4 (diff) |
Check if there is a diff before downloading.beta-991
-rw-r--r-- | storage/storage.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/storage.cpp b/storage/storage.cpp index 656bef087f..f355e76b4e 100644 --- a/storage/storage.cpp +++ b/storage/storage.cpp @@ -806,6 +806,8 @@ void Storage::OnServerListDownloaded(vector<string> const & urls) queuedCountry.ResetToDefaultOptions(); break; case Status::Available: + if (!m_diffManager.HasDiffFor(queuedCountry.GetCountryId())) + queuedCountry.ResetToDefaultOptions(); break; } } |