Commit bee7524b authored by nanahira's avatar nanahira

Update src/tournament-rules/rules/swiss.ts

parent ac934640
Pipeline #37943 failed with stages
in 3 minutes and 5 seconds
......@@ -100,7 +100,7 @@ export class Swiss extends TournamentRuleBase {
const opponents = opponentIds.map((id) => this.participantMap.get(id));
return {
tieBreaker: _.sumBy(opponents, (p) => p.score.score),
...(participant.quit ? { score: -1 } : {})
score: participant.quit ? -1 : participant.score,
};
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment