diff --git a/src/v8/tournament.ts b/src/v8/tournament.ts index 1f27251..ddbfb50 100644 --- a/src/v8/tournament.ts +++ b/src/v8/tournament.ts @@ -217,6 +217,7 @@ export default class Tournament { let worstCaseTravelTime = Number.POSITIVE_INFINITY; for (const team of this.teams) { const slots = this.getAllTimeslots() + .filter((s) => !breaks.includes(s.activityId)) .filter((t) => t.teams.includes(team.id)) .sort((a, b) => a.start - b.start); const travelTimes = slots.map((slot, i) => {