Merge pull request #11 from megalon/download-fix

Fix always downloading Steam version of mod
This commit is contained in:
Assistant 2019-05-23 03:42:43 -04:00 committed by GitHub
commit 5094c8b6cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -289,7 +289,7 @@ namespace ModAssistant.Pages
return;
}
using (MemoryStream stream = new MemoryStream(DownloadMod(Utils.Constants.BeatModsURL + mod.downloads[0].url)))
using (MemoryStream stream = new MemoryStream(DownloadMod(Utils.Constants.BeatModsURL + downloadLink)))
{
using (ZipArchive archive = new ZipArchive(stream))
{