Skip to content

Commit

Permalink
Fix fetching game settings for enabling Comet
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye116477 committed Nov 4, 2024
1 parent 2a1659e commit bdd78f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/GogOssGameSettingsView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ private void GameSettingsViewUC_Loaded(object sender, RoutedEventArgs e)
}
AutoSyncSavesChk.IsChecked = globalSettings.SyncGameSaves;
AutoSyncPlaytimeChk.IsChecked = globalSettings.SyncPlaytime;
EnableCometSupportChk.IsChecked = globalSettings.EnableCometSupport;
gameSettings = LoadGameSettings(GameID);
if (gameSettings.EnableCometSupport != null)
{
Expand All @@ -157,6 +158,7 @@ private void GameSettingsViewUC_Loaded(object sender, RoutedEventArgs e)
{
AutoSyncSavesChk.IsChecked = gameSettings.AutoSyncSaves;
}

if (!gameSettings.CloudSaveFolder.IsNullOrEmpty())
{
SelectedSavePathTxt.Text = gameSettings.CloudSaveFolder;
Expand Down

0 comments on commit bdd78f7

Please sign in to comment.