From 52f1fea63f554544698e9dbb564aae2bc10bb915 Mon Sep 17 00:00:00 2001 From: TOM_RUS Date: Mon, 14 Dec 2015 18:52:30 +0300 Subject: [PATCH] Fix --- CascLib/DownloadHandler.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CascLib/DownloadHandler.cs b/CascLib/DownloadHandler.cs index 5665320f..cfb7e3e1 100644 --- a/CascLib/DownloadHandler.cs +++ b/CascLib/DownloadHandler.cs @@ -56,8 +56,7 @@ public DownloadHandler(BinaryReader stream, BackgroundWorkerEx worker) DownloadData.Add(key, entry); - if (i % 10 == 0) - worker?.ReportProgress((int)((i + 1) / (float)numFiles * 100)); + worker?.ReportProgress((int)((i + 1) / (float)numFiles * 100)); } for (int i = 0; i < numTags; i++)