From 34321cf96d0680e3c78ad44d4bc563cb4ec5a959 Mon Sep 17 00:00:00 2001 From: Usagi no Niku Date: Wed, 4 Sep 2024 22:01:31 +0800 Subject: [PATCH] fix: use score mode to get stats --- 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 df2feaa1..9aab5b5c 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