|
|
|
|
@ -832,8 +832,8 @@ defer { |
|
|
|
|
if teamPosition == team(.two)?.groupStagePositionAtStep(step) { |
|
|
|
|
reverseValue = -1 |
|
|
|
|
} |
|
|
|
|
let endedSetsOne = teamScoreTeam.score?.components(separatedBy: ",").compactMap({ Int($0) }) ?? matchFormat.defaultWalkOutScore(teamScoreTeam.isWalkOut()) |
|
|
|
|
let endedSetsTwo = teamScoreOtherTeam.score?.components(separatedBy: ",").compactMap({ Int($0) }) ?? matchFormat.defaultWalkOutScore(teamScoreOtherTeam.isWalkOut()) |
|
|
|
|
let endedSetsOne = teamScoreTeam.score?.components(separatedBy: ",").compactMap({ $0.components(separatedBy: "-").first }).compactMap({ Int($0) }) ?? matchFormat.defaultWalkOutScore(teamScoreTeam.isWalkOut()) |
|
|
|
|
let endedSetsTwo = teamScoreOtherTeam.score?.components(separatedBy: ",").compactMap({ $0.components(separatedBy: "-").first }).compactMap({ Int($0) }) ?? matchFormat.defaultWalkOutScore(teamScoreOtherTeam.isWalkOut()) |
|
|
|
|
var setDifference : Int = 0 |
|
|
|
|
let zip = zip(endedSetsOne, endedSetsTwo) |
|
|
|
|
if matchFormat.setsToWin == 1 { |
|
|
|
|
|