mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix crash at selecting non-profile directory
This commit is contained in:
parent
37c6af9a6a
commit
1a661bc08b
@ -305,13 +305,15 @@ namespace Wabbajack
|
||||
if (folder != null)
|
||||
{
|
||||
var file = Path.Combine(folder, "modlist.txt");
|
||||
if (!File.Exists(file))
|
||||
if(File.Exists(file))
|
||||
{
|
||||
Location = file;
|
||||
ConfigureForBuild();
|
||||
}
|
||||
else
|
||||
{
|
||||
Utils.Log($"No modlist.txt found at {file}");
|
||||
}
|
||||
|
||||
Location = file;
|
||||
ConfigureForBuild();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user