Skip to content

Commit

Permalink
revert async, PNGs weren't downloading properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Kade-N committed Mar 27, 2021
1 parent 85a13b0 commit 0442a3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/SporeServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public void downloadLargeAssetPng(long assetId, string fileName)

using (var client = new WebClient())
{
client.DownloadFileAsync(uri, fileName);
client.DownloadFile(uri, fileName);
}
}

Expand All @@ -157,7 +157,7 @@ public void downloadAssetPng(long assetId, string fileName)

using (var client = new WebClient())
{
client.DownloadFileAsync(uri, fileName);
client.DownloadFile(uri, fileName);
}
}

Expand Down

0 comments on commit 0442a3a

Please sign in to comment.