Fix some issues with removing mods from collection caches.

This commit is contained in:
Ottermandias 2023-05-11 17:55:48 +02:00
parent cbda4614a9
commit 3f03712e24
5 changed files with 144 additions and 29 deletions

View file

@ -27,7 +27,7 @@ public readonly struct ImcCache : IDisposable
{
foreach( var (path, file) in _imcFiles )
{
collection._cache!.RemoveFile( path );
collection._cache!.RemovePath( path );
file.Reset();
}