File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Assets/PatchKit Patcher/Scripts/AppData/Remote/Downloaders Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ private void CheckTimeout(double progress)
151151
152152 private void UpdateTorrentProgress ( double progress )
153153 {
154- OnDownloadProgressChanged ( Mathf . CeilToInt ( _resource . Size * ( float ) progress ) , _resource . Size ) ;
154+ OnDownloadProgressChanged ( ( long ) ( _resource . Size * progress ) , _resource . Size ) ;
155155 }
156156
157157 private bool UpdateTorrentStatus ( )
Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
55and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
66
7+ ## [ Unreleased]
8+ ### Fixed
9+ - HTTP downloader resumes the download on error
10+ - Fix TorrentDownloader progress reporting for big files
11+
712## [ 3.1.3]
813### Added
914- Add miliseconds information to log date and time
You can’t perform that action at this time.
0 commit comments