From 00f160ddba9fd7917b059b366ef0c00ed557226e Mon Sep 17 00:00:00 2001 From: Brandon Date: Sun, 13 Mar 2022 18:35:55 -0600 Subject: [PATCH] GamePassCatalogBrowser: Import default configured Completion Status for added games #206 --- source/Generic/GamePassCatalogBrowser/XboxLibraryHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Generic/GamePassCatalogBrowser/XboxLibraryHelper.cs b/source/Generic/GamePassCatalogBrowser/XboxLibraryHelper.cs index 31f33e6bf7..4b3c59eade 100644 --- a/source/Generic/GamePassCatalogBrowser/XboxLibraryHelper.cs +++ b/source/Generic/GamePassCatalogBrowser/XboxLibraryHelper.cs @@ -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)) {