Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
th0mk committed Jun 7, 2024
1 parent 7f88fc1 commit 727ab45
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/FMBot.Bot/Services/GameService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ public GameService(IMemoryCache cache, IDbContextFactory<FMBotDbContext> context
{
jumblesPlayedToday ??= [];

topArtists = topArtists.Where(w => !jumblesPlayedToday.Contains(w.ArtistName)).ToList();
topArtists = topArtists
.Where(w => !jumblesPlayedToday.Contains(w.ArtistName))
.OrderByDescending(o => o.UserPlaycount)
.ToList();

var multiplier = topArtists.Count switch
{
Expand Down

0 comments on commit 727ab45

Please sign in to comment.