mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-13 12:14:17 +01:00
Fix single group default options not applying.
This commit is contained in:
parent
bbbf65eb4c
commit
32dbf419e2
2 changed files with 3 additions and 1 deletions
|
|
@ -82,7 +82,9 @@ public class DuplicateManager(ModManager modManager, SaveService saveService, Co
|
|||
return;
|
||||
|
||||
if (useModManager)
|
||||
{
|
||||
modManager.OptionEditor.SetFiles(subMod, dict, SaveType.ImmediateSync);
|
||||
}
|
||||
else
|
||||
{
|
||||
subMod.Files = dict;
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ public sealed class SingleModGroup(Mod mod) : IModGroup, ITexToolsGroup
|
|||
|
||||
public void AddData(Setting setting, Dictionary<Utf8GamePath, FullPath> redirections, HashSet<MetaManipulation> manipulations)
|
||||
{
|
||||
if (!IsOption)
|
||||
if (OptionData.Count == 0)
|
||||
return;
|
||||
|
||||
OptionData[setting.AsIndex].AddDataTo(redirections, manipulations);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue