Merge pull request #1297 from Unnoen/fix-download-path

Fix error on download path being empty
This commit is contained in:
Timothy Baldridge 2021-02-04 05:48:16 -07:00 committed by GitHub
commit 6c51637816
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,7 +93,7 @@ namespace Wabbajack
.Skip(1) // Don't do it initially
.Subscribe(downloadPath =>
{
if (downloadPath == Location.TargetPath)
if (downloadPath != default && downloadPath == Location.TargetPath)
{
DownloadLocation.TargetPath = Location.TargetPath.Combine("downloads");
}