mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-14 20:54:16 +01:00
Change imc handling in caches slightly.
This commit is contained in:
parent
03cb88be10
commit
636f14a06d
4 changed files with 62 additions and 54 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue