Change imc handling in caches slightly.

This commit is contained in:
Ottermandias 2023-06-13 16:01:38 +02:00
parent 03cb88be10
commit 636f14a06d
4 changed files with 62 additions and 54 deletions

View file

@ -174,7 +174,7 @@ public class CollectionCacheManager : IDisposable
cache.AddMetaFiles(true);
++collection.ChangeCounter;
collection.IncrementCounter();
MetaFileManager.ApplyDefaultFiles(collection);
}
@ -280,7 +280,7 @@ public class CollectionCacheManager : IDisposable
private void IncrementCounters()
{
foreach (var collection in _storage.Where(c => c.HasCache))
++collection.ChangeCounter;
collection.IncrementCounter();
MetaFileManager.CharacterUtility.LoadingFinished -= IncrementCounters;
}