mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +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;
|
return;
|
||||||
|
|
||||||
if (useModManager)
|
if (useModManager)
|
||||||
|
{
|
||||||
modManager.OptionEditor.SetFiles(subMod, dict, SaveType.ImmediateSync);
|
modManager.OptionEditor.SetFiles(subMod, dict, SaveType.ImmediateSync);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
subMod.Files = dict;
|
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)
|
public void AddData(Setting setting, Dictionary<Utf8GamePath, FullPath> redirections, HashSet<MetaManipulation> manipulations)
|
||||||
{
|
{
|
||||||
if (!IsOption)
|
if (OptionData.Count == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
OptionData[setting.AsIndex].AddDataTo(redirections, manipulations);
|
OptionData[setting.AsIndex].AddDataTo(redirections, manipulations);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue