mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 21:27:21 +01:00
fix removal of stale paths
This commit is contained in:
parent
114ab2f4e1
commit
be3cd00227
1 changed files with 3 additions and 1 deletions
|
|
@ -85,8 +85,10 @@ public sealed class TransientResourceManager : DisposableMediatorSubscriberBase
|
|||
|
||||
foreach (var replacement in fileReplacement.Where(p => !p.HasFileReplacement).SelectMany(p => p.GamePaths).ToList())
|
||||
{
|
||||
value.RemoveWhere(p => string.Equals(p, replacement, StringComparison.OrdinalIgnoreCase));
|
||||
PlayerConfig.RemovePath(replacement);
|
||||
}
|
||||
|
||||
_configurationService.Save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue