From 75b141f653db72a2409c89a288ca7a225f5c4b85 Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Mon, 5 Jul 2021 18:53:29 +0200 Subject: [PATCH] Possibly fix bug where switching away from default collection in current collection breaks the cache. --- Penumbra/Mods/CollectionManager.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Penumbra/Mods/CollectionManager.cs b/Penumbra/Mods/CollectionManager.cs index 1ad36af6..9cb522df 100644 --- a/Penumbra/Mods/CollectionManager.cs +++ b/Penumbra/Mods/CollectionManager.cs @@ -151,6 +151,7 @@ namespace Penumbra.Mods { if( collection.Name != ForcedCollection.Name && collection.Name != CurrentCollection.Name + && collection.Name != DefaultCollection.Name && CharacterCollection.All( kvp => kvp.Value.Name != collection.Name ) ) { collection.ClearCache();