Skip to content

Commit

Permalink
Fix: Crash when an extension is fetching selected games #3450
Browse files Browse the repository at this point in the history
  • Loading branch information
JosefNemec committed Jun 22, 2023
1 parent a0b8002 commit 048fd3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Playnite.FullscreenApp/Api/MainViewAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public IEnumerable<Game> SelectedGames
}
else
{
return mainModel.SelectedGames?.Select(a => a.Game).ToList();
return mainModel.SelectedGames?.Where(a => a != null).Select(a => a.Game).ToList();
}
}
}
Expand Down

0 comments on commit 048fd3a

Please sign in to comment.