Fix IGDB check for single player mode
This commit is contained in:
parent
50badc981b
commit
d97e1f48b3
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ else
|
||||||
Game.Tags = new List<Data.Models.Tag>();
|
Game.Tags = new List<Data.Models.Tag>();
|
||||||
|
|
||||||
if (result.IGDBMetadata.GameModes != null && result.IGDBMetadata.GameModes.Values != null)
|
if (result.IGDBMetadata.GameModes != null && result.IGDBMetadata.GameModes.Values != null)
|
||||||
Game.Singleplayer = result.IGDBMetadata.GameModes.Values.Any(gm => gm.Name == "Singleplayer");
|
Game.Singleplayer = result.IGDBMetadata.GameModes.Values.Any(gm => gm.Name == "Single player");
|
||||||
|
|
||||||
if (result.IGDBMetadata.InvolvedCompanies != null && result.IGDBMetadata.InvolvedCompanies.Values != null)
|
if (result.IGDBMetadata.InvolvedCompanies != null && result.IGDBMetadata.InvolvedCompanies.Values != null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue