Small fix for multi-options and effective file lists.

This commit is contained in:
Ottermandias 2021-01-28 13:56:37 +01:00
parent 7130848fe2
commit cc17bb9928

View file

@ -184,8 +184,12 @@ namespace Penumbra.Mods
for(var i = 0; i < group.Options.Count; ++i)
{
if ((setting & (1 << i)) != 0)
{
if (group.Options[i].OptionFiles.TryGetValue(relativeFilePath, out paths))
AddFiles(paths);
}
else if (group.Options[i].OptionFiles.ContainsKey(relativeFilePath))
doNotAdd = true;
}
break;
}