Skip to content

Commit

Permalink
Merge pull request #23 from ErisApps/bugfix/Fix_issue_preventing_mult…
Browse files Browse the repository at this point in the history
…iple_older_versions_without_restarting

Fix issue preventing installing multiple older versions without restarting
  • Loading branch information
Goobwabber authored Dec 9, 2022
2 parents 1e6e0ee + a2dddbc commit 72b9615
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 72b9615

Please sign in to comment.