|
|
|
|
@ -85,7 +85,7 @@ class MatchScheduler : ModelObject, Storable { |
|
|
|
|
|
|
|
|
|
@discardableResult |
|
|
|
|
func updateGroupStageSchedule(tournament: Tournament) -> Date { |
|
|
|
|
let computedGroupStageChunkCount = groupStageChunkCount ?? 1 |
|
|
|
|
let computedGroupStageChunkCount = groupStageChunkCount ?? tournament.getGroupStageChunkValue() |
|
|
|
|
let groupStages: [GroupStage] = tournament.groupStages() |
|
|
|
|
let numberOfCourtsAvailablePerRotation: Int = tournament.courtCount |
|
|
|
|
|
|
|
|
|
|