From 6dbf487c99408942486d518ddc93f9abbd7be9f8 Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Sun, 5 Jun 2022 14:49:12 +0200 Subject: [PATCH] Fix collections wrongly becoming active on rediscover. --- Penumbra/Collections/CollectionManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Penumbra/Collections/CollectionManager.cs b/Penumbra/Collections/CollectionManager.cs index b222d445..76515f0c 100644 --- a/Penumbra/Collections/CollectionManager.cs +++ b/Penumbra/Collections/CollectionManager.cs @@ -202,7 +202,7 @@ public partial class ModCollection } // Afterwards, we update the caches. This can not happen in the same loop due to inheritance. - foreach( var collection in this ) + foreach( var collection in this.Where( c => c.HasCache ) ) { collection.ForceCacheUpdate(); }