Fix some bugs.

This commit is contained in:
Ottermandias 2023-03-31 18:35:45 +02:00
parent a2fd070c86
commit 49f1f7020f
5 changed files with 14 additions and 8 deletions

View file

@ -98,6 +98,7 @@ public class ModFileCollection : IDisposable
_usedPaths.Remove(oldPath.Item2);
if (!gamePath.IsEmpty)
{
file.SubModUsage[pathIdx] = (oldPath.Item1, gamePath);
_usedPaths.Add(gamePath);
}
else