diff --git a/LegacyInstaller/SteamDownloader.cs b/LegacyInstaller/SteamDownloader.cs index bec14b4..f38dbbc 100644 --- a/LegacyInstaller/SteamDownloader.cs +++ b/LegacyInstaller/SteamDownloader.cs @@ -42,7 +42,7 @@ public async Task DownloadDepot(string manifestId, FileSystemEventHandler eventH { await PatchDownloadDepot(); - if (_downloadDepotTcs != null) + if (_downloadDepotTcs != null && !(_downloadDepotTcs.Task.IsCompleted || _downloadDepotTcs.Task.IsCanceled || _downloadDepotTcs.Task.IsFaulted)) throw new DownloadInProgressException(); if (eventHandler != null)