add custom matches

This commit is contained in:
2026-03-09 20:28:04 +01:00
parent 8d1cd49339
commit 6b416dce31
24 changed files with 3289 additions and 55 deletions

View File

@@ -549,7 +549,9 @@ export async function submitGameScores(
})
.where(eq(match.id, game.matchId));
await updateElo(participants, matchWinner.id);
if (config.allowEloChange !== false) {
await updateElo(participants, matchWinner.id);
}
const finishedMatch = await getMatchFull(game.matchId);
notifyMatchFinished(finishedMatch).catch(() => {});