Skip to content

Commit

Permalink
fix: use score mode to get stats (#679)
Browse files Browse the repository at this point in the history
  • Loading branch information
TrueRou authored Sep 4, 2024
1 parent e0c2e66 commit 2748ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/domains/osu.py
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ async def osuSubmitModularSelector(

# get the current stats, and take a
# shallow copy for the response charts.
stats = score.player.gm_stats
stats = score.player.stats[score.mode]
prev_stats = copy.copy(stats)

# stuff update for all submitted scores
Expand Down

0 comments on commit 2748ff8

Please sign in to comment.