diff --git a/Penumbra/Mods/Mod.Files.cs b/Penumbra/Mods/Mod.Files.cs index cd9071bd..4528bb22 100644 --- a/Penumbra/Mods/Mod.Files.cs +++ b/Penumbra/Mods/Mod.Files.cs @@ -40,7 +40,9 @@ public partial class Mod { var modFiles = AllFiles.ToHashSet(); return ModPath.EnumerateDirectories() + .Where(d => !d.Attributes.HasFlag( FileAttributes.Hidden ) ) .SelectMany(f => f.EnumerateFiles("*", SearchOption.AllDirectories)) + .Where( f => !f.Attributes.HasFlag( FileAttributes.Hidden ) ) .Select(f => new FullPath(f)) .Where(f => !modFiles.Contains(f)) .ToList(); diff --git a/Penumbra/UI/AdvancedWindow/ItemSwapTab.cs b/Penumbra/UI/AdvancedWindow/ItemSwapTab.cs index 70c5cb75..929a8276 100644 --- a/Penumbra/UI/AdvancedWindow/ItemSwapTab.cs +++ b/Penumbra/UI/AdvancedWindow/ItemSwapTab.cs @@ -771,9 +771,10 @@ public class ItemSwapTab : IDisposable, ITab private void OnModOptionChange(ModOptionChangeType type, Mod mod, int a, int b, int c) { - if (type is ModOptionChangeType.PrepareChange || mod != _mod) + if (type is ModOptionChangeType.PrepareChange or ModOptionChangeType.GroupAdded or ModOptionChangeType.OptionAdded || mod != _mod) return; - _swapData.LoadMod(_mod, _modSettings); + _swapData.LoadMod(_mod, _modSettings); + UpdateOption(); _dirty = true; } } diff --git a/repo.json b/repo.json index 66e305b5..8b41b9cc 100644 --- a/repo.json +++ b/repo.json @@ -4,8 +4,8 @@ "Name": "Penumbra", "Description": "Runtime mod loader and manager.", "InternalName": "Penumbra", - "AssemblyVersion": "0.6.6.4", - "TestingAssemblyVersion": "0.6.6.4", + "AssemblyVersion": "0.6.6.5", + "TestingAssemblyVersion": "0.6.6.5", "RepoUrl": "https://github.com/xivdev/Penumbra", "ApplicableVersion": "any", "DalamudApiLevel": 8, @@ -16,9 +16,9 @@ "LoadPriority": 69420, "LoadRequiredState": 2, "LoadSync": true, - "DownloadLinkInstall": "https://github.com/xivdev/Penumbra/releases/download/0.6.6.4/Penumbra.zip", - "DownloadLinkTesting": "https://github.com/xivdev/Penumbra/releases/download/0.6.6.4/Penumbra.zip", - "DownloadLinkUpdate": "https://github.com/xivdev/Penumbra/releases/download/0.6.6.4/Penumbra.zip", + "DownloadLinkInstall": "https://github.com/xivdev/Penumbra/releases/download/0.6.6.5/Penumbra.zip", + "DownloadLinkTesting": "https://github.com/xivdev/Penumbra/releases/download/0.6.6.5/Penumbra.zip", + "DownloadLinkUpdate": "https://github.com/xivdev/Penumbra/releases/download/0.6.6.5/Penumbra.zip", "IconUrl": "https://raw.githubusercontent.com/xivdev/Penumbra/master/images/icon.png" } ]