Commit d9a5910d authored by nanahira's avatar nanahira

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

parent 013a57f7
Pipeline #39601 passed with stages
in 1 minute and 7 seconds
...@@ -77,7 +77,7 @@ export class Swiss extends TournamentRuleBase { ...@@ -77,7 +77,7 @@ export class Swiss extends TournamentRuleBase {
const map = new Map<number, Set<number>>(); const map = new Map<number, Set<number>>();
const currentRounds = this.currentRoundCount(); const currentRounds = this.currentRoundCount();
for (const match of this.specificMatches(MatchStatus.Finished)) { for (const match of this.tournament.matches) {
const round = match.round; const round = match.round;
if (round > currentRounds) continue; if (round > currentRounds) continue;
if (!map.has(round)) { if (!map.has(round)) {
......
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