mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-13 12:14:17 +01:00
Fix bug preventing deduplication.
This commit is contained in:
parent
1f2f66b114
commit
bbbf65eb4c
3 changed files with 5 additions and 2 deletions
|
|
@ -84,7 +84,10 @@ public class DuplicateManager(ModManager modManager, SaveService saveService, Co
|
|||
if (useModManager)
|
||||
modManager.OptionEditor.SetFiles(subMod, dict, SaveType.ImmediateSync);
|
||||
else
|
||||
{
|
||||
subMod.Files = dict;
|
||||
saveService.ImmediateSaveSync(new ModSaveGroup(mod.ModPath, subMod, config.ReplaceNonAsciiOnImport));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ public readonly struct ModSaveGroup : ISavable
|
|||
_basePath = basePath;
|
||||
_defaultMod = container as DefaultSubMod;
|
||||
_onlyAscii = onlyAscii;
|
||||
if (_defaultMod == null)
|
||||
if (_defaultMod != null)
|
||||
{
|
||||
_groupIdx = -1;
|
||||
_group = null;
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ public class CollectionSelectHeader
|
|||
var collection = _resolver.PlayerCollection();
|
||||
return CheckCollection(collection) switch
|
||||
{
|
||||
CollectionState.Empty => (collection, "None", "The base collection is configured to use no mods.", true),
|
||||
CollectionState.Empty => (collection, "None", "The loaded player character is configured to use no mods.", true),
|
||||
CollectionState.Selected => (collection, collection.Name,
|
||||
"The collection configured to apply to the loaded player character is already selected as the current collection.", true),
|
||||
CollectionState.Available => (collection, collection.Name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue