mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-13 12:14:17 +01:00
Possibly fix bug where switching away from default collection in current collection breaks the cache.
This commit is contained in:
parent
893925f599
commit
75b141f653
1 changed files with 1 additions and 0 deletions
|
|
@ -151,6 +151,7 @@ namespace Penumbra.Mods
|
||||||
{
|
{
|
||||||
if( collection.Name != ForcedCollection.Name
|
if( collection.Name != ForcedCollection.Name
|
||||||
&& collection.Name != CurrentCollection.Name
|
&& collection.Name != CurrentCollection.Name
|
||||||
|
&& collection.Name != DefaultCollection.Name
|
||||||
&& CharacterCollection.All( kvp => kvp.Value.Name != collection.Name ) )
|
&& CharacterCollection.All( kvp => kvp.Value.Name != collection.Name ) )
|
||||||
{
|
{
|
||||||
collection.ClearCache();
|
collection.ClearCache();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue