Skip to content

Commit

Permalink
made leaderboard show palyers after placing
Browse files Browse the repository at this point in the history
  • Loading branch information
99oblivius committed Oct 14, 2024
1 parent d78a3bb commit 98e44ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ async def get_leaderboard_with_previous_mmr(self, guild_id: int) -> List[Dict[st
(MMBotUserMatchStats.match_id == subquery.c.latest_match_id))
.where(
MMBotUserSummaryStats.guild_id == guild_id,
MMBotUserSummaryStats.games > PLACEMENT_MATCHES)
MMBotUserSummaryStats.games >= PLACEMENT_MATCHES)
.order_by(desc(MMBotUserSummaryStats.mmr)))

result = await session.execute(query)
Expand Down

0 comments on commit 98e44ec

Please sign in to comment.