Skip to content

Commit

Permalink
GamePassCatalogBrowser: Import default configured Completion Status f…
Browse files Browse the repository at this point in the history
…or added games #206
  • Loading branch information
darklinkpower committed Mar 14, 2022
1 parent ce2456a commit 00f160d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/Generic/GamePassCatalogBrowser/XboxLibraryHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,10 @@ public bool AddGameToLibrary(GamePassGame game, bool showGameAddDialog)
PlatformIds = platformsList,
Description = StringToHtml(game.Description, true),
SourceId = source.Id,
ReleaseDate = new ReleaseDate(game.ReleaseDate)
ReleaseDate = new ReleaseDate(game.ReleaseDate),
CompletionStatusId = PlayniteApi.ApplicationSettings.CompletionStatus.DefaultStatus
};


PlayniteApi.Database.Games.Add(newGame);
if (FileSystem.FileExists(game.CoverImage))
{
Expand Down

0 comments on commit 00f160d

Please sign in to comment.