fix issue when multiple transient files point to different gamepaths

This commit is contained in:
Stanley Dimant
2022-09-16 00:25:07 +02:00
parent c9dc0e8468
commit 574cdb0b24
5 changed files with 30 additions and 16 deletions

View File

@@ -48,7 +48,7 @@ namespace MareSynchronos.Models
{
return new FileReplacementDto()
{
GamePaths = g.SelectMany(g => g.GamePaths).Distinct().ToArray(),
GamePaths = g.SelectMany(f => f.GamePaths).Distinct().ToArray(),
Hash = g.First().Hash,
};
}).ToList());