From 886532d1bd4afe14a9554db5e203be600c0cd94d Mon Sep 17 00:00:00 2001 From: Tomasz Jaworski Date: Wed, 9 Jan 2019 16:58:33 +0100 Subject: [PATCH] Fix download speed calculation --- .../PatchKit Patcher/Scripts/AppUpdater/Status/DownloadStatus.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/PatchKit Patcher/Scripts/AppUpdater/Status/DownloadStatus.cs b/Assets/PatchKit Patcher/Scripts/AppUpdater/Status/DownloadStatus.cs index b96e9411..efc7aa86 100644 --- a/Assets/PatchKit Patcher/Scripts/AppUpdater/Status/DownloadStatus.cs +++ b/Assets/PatchKit Patcher/Scripts/AppUpdater/Status/DownloadStatus.cs @@ -48,6 +48,7 @@ public DownloadStatus() var interval = Observable .Interval(TimeSpan.FromSeconds(1)) .Select(_ => new ByteSample{ + Bytes = Bytes.Value, Timestamp = DateTime.Now });