Quick fix download path breaking on default.

This commit is contained in:
Unnoen 2021-02-04 17:39:52 +11:00
parent 07e0f92a74
commit cc5aaa3c6a
No known key found for this signature in database
GPG Key ID: 8F8E42252BA20553

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");
}