feat: enhance match and lobby management with player status tracking and osu! API integration

This commit is contained in:
2026-03-01 00:40:47 +01:00
parent 81a51dca8c
commit 60956f2643
12 changed files with 366 additions and 49 deletions

View File

@@ -366,6 +366,7 @@ export async function submitGameScores(
countMiss?: number;
mods?: string[];
passed?: boolean;
pp?: number | null;
}[]
) {
const game = await db.query.matchGame.findFirst({
@@ -387,7 +388,8 @@ export async function submitGameScores(
count50: s.count50 ?? 0,
countMiss: s.countMiss ?? 0,
mods: s.mods ?? [],
passed: s.passed ?? true
passed: s.passed ?? true,
pp: s.pp ?? null
});
}