mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
fixed bug where only having one profile would result in no profiles
This commit is contained in:
parent
30cd2d4b69
commit
dd157d9e28
@ -152,11 +152,12 @@ namespace Wabbajack
|
||||
{
|
||||
Info($"Looking for other profiles");
|
||||
var other_profiles_path = Path.Combine(MO2ProfileDir, "otherprofiles.txt");
|
||||
SelectedProfiles = new HashSet<string>();
|
||||
if (File.Exists(other_profiles_path))
|
||||
{
|
||||
SelectedProfiles = File.ReadAllLines(other_profiles_path).ToHashSet();
|
||||
SelectedProfiles.Add(MO2Profile);
|
||||
}
|
||||
SelectedProfiles.Add(MO2Profile);
|
||||
|
||||
Info($"Using Profiles: " + string.Join(", ", SelectedProfiles.OrderBy(p => p)));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user