Set download progress to zero immediately, don't wait for progress event.

This commit is contained in:
Daniel Scalzi
2023-03-24 15:46:37 -04:00
parent 47378d63d2
commit 776c46d7e1
3 changed files with 11 additions and 10 deletions

View File

@@ -521,6 +521,7 @@ async function dlAsync(login = true) {
if(invalidFileCount > 0) {
loggerLaunchSuite.info('Downloading files.')
setLaunchDetails('Downloading files..')
setLaunchPercentage(0)
try {
await fullRepairModule.download(percent => {
setDownloadPercentage(percent)