feat(beatmap,score): support failtime & more exact playtime

This commit is contained in:
MingxuanGame
2025-08-18 08:48:13 +00:00
parent 9ee087306b
commit 219f19d623
9 changed files with 279 additions and 27 deletions

View File

@@ -121,7 +121,13 @@ async def submit_score(
score_id = score.id
score_token.score_id = score_id
await process_user(
db, current_user, score, beatmap_length, has_pp, has_leaderboard
db,
current_user,
score,
token,
beatmap_length,
has_pp,
has_leaderboard,
)
score = (await db.exec(select(Score).where(Score.id == score_id))).first()
assert score is not None