Fix media importing
Fix an issue where only the first media item of a import file (.LCX) was being imported for a game.
This commit is contained in:
parent
5b64f6ecf5
commit
f9dca820d2
1 changed files with 1 additions and 1 deletions
|
|
@ -446,7 +446,7 @@ namespace LANCommander.Services
|
|||
}
|
||||
|
||||
if (manifest.Media != null)
|
||||
foreach (var manifestMedia in manifest.Media.Where(mm => !game.Media.Any(m => m.Id != mm.Id)))
|
||||
foreach (var manifestMedia in manifest.Media.Where(mm => !game.Media.Any(m => m.Id == mm.Id)))
|
||||
{
|
||||
var media = new Media()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue