From 2748ff8e1aec59157f0907ca6534db55e2c4b54a Mon Sep 17 00:00:00 2001 From: Usagi no Niku Date: Wed, 4 Sep 2024 22:05:33 +0800 Subject: [PATCH] fix: use score mode to get stats (#679) --- app/api/domains/osu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/domains/osu.py b/app/api/domains/osu.py index df2feaa1b..9aab5b5c5 100644 --- a/app/api/domains/osu.py +++ b/app/api/domains/osu.py @@ -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