mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-14 20:54:16 +01:00
Small fix for multi-options and effective file lists.
This commit is contained in:
parent
7130848fe2
commit
cc17bb9928
1 changed files with 4 additions and 0 deletions
|
|
@ -184,9 +184,13 @@ namespace Penumbra.Mods
|
||||||
for(var i = 0; i < group.Options.Count; ++i)
|
for(var i = 0; i < group.Options.Count; ++i)
|
||||||
{
|
{
|
||||||
if ((setting & (1 << i)) != 0)
|
if ((setting & (1 << i)) != 0)
|
||||||
|
{
|
||||||
if (group.Options[i].OptionFiles.TryGetValue(relativeFilePath, out paths))
|
if (group.Options[i].OptionFiles.TryGetValue(relativeFilePath, out paths))
|
||||||
AddFiles(paths);
|
AddFiles(paths);
|
||||||
}
|
}
|
||||||
|
else if (group.Options[i].OptionFiles.ContainsKey(relativeFilePath))
|
||||||
|
doNotAdd = true;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue