Move Collection Change Counter to Collection instead of Cache so it does not reset if cache is destroyed.

This commit is contained in:
Ottermandias 2022-07-08 10:50:57 +02:00
parent f984283231
commit 70bae7737e
4 changed files with 13 additions and 13 deletions

View file

@ -145,7 +145,7 @@ public partial class MetaManager
}
private FullPath CreateImcPath( Utf8GamePath path )
=> new($"|{_collection.Name}_{_collection.RecomputeCounter}|{path}");
=> new($"|{_collection.Name}_{_collection.ChangeCounter}|{path}");
private static unsafe bool ImcLoadHandler( Utf8String split, Utf8String path, ResourceManager* resourceManager,