Skip to content

Commit

Permalink
Fix issue preventing installing multiple older versions without resta…
Browse files Browse the repository at this point in the history
…rting
  • Loading branch information
ErisApps committed Dec 5, 2022
1 parent 331fe5e commit a2dddbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LegacyInstaller/SteamDownloader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a2dddbc

Please sign in to comment.