Add special collections.

This commit is contained in:
Ottermandias 2022-06-26 13:44:15 +02:00
parent ec91755065
commit 549f8ce4b4
11 changed files with 486 additions and 86 deletions

View file

@ -182,7 +182,7 @@ public partial class Configuration
DefaultCollection = _data[ nameof( DefaultCollection ) ]?.ToObject< string >() ?? DefaultCollection;
CharacterCollections = _data[ nameof( CharacterCollections ) ]?.ToObject< Dictionary< string, string > >() ?? CharacterCollections;
ModCollection.Manager.SaveActiveCollections( DefaultCollection, CurrentCollection,
CharacterCollections.Select( kvp => ( kvp.Key, kvp.Value ) ) );
CharacterCollections.Select( kvp => ( kvp.Key, kvp.Value ) ), Array.Empty<(CollectionType, string)>() );
}
// Collections were introduced and the previous CurrentCollection got put into ModDirectory.