mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 15:17:23 +01:00
minor adjustments for potential concurrency issues
This commit is contained in:
parent
1e9161aed5
commit
23abae4c20
3 changed files with 39 additions and 29 deletions
|
|
@ -292,16 +292,6 @@ public class CharacterDataFactory
|
|||
{
|
||||
transientResourceManager.PersistTransientResources(charaPointer, objectKind, CreateFileReplacement);
|
||||
|
||||
/*foreach (var item in transientResourceManager.GetTransientResources(charaPointer))
|
||||
{
|
||||
if (!previousData.FileReplacements[objectKind].Any(f => f.GamePaths.Any(p => p.ToLowerInvariant() == item.ToLowerInvariant())))
|
||||
{
|
||||
Logger.Verbose("Found transient resource: " + item);
|
||||
AddReplacement(item, objectKind, previousData, 1, true);
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
foreach (var item in transientResourceManager.GetSemiTransientResources(objectKind))
|
||||
{
|
||||
if (!previousData.FileReplacements.ContainsKey(objectKind))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue