|
|
|
@ -290,11 +290,11 @@ defer { |
|
|
|
forwardMatch.byeState = false |
|
|
|
forwardMatch.byeState = false |
|
|
|
forwardMatch._toggleMatchDisableState(false, forward: true) |
|
|
|
forwardMatch._toggleMatchDisableState(false, forward: true) |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else if forwardMatch.byeState == false { |
|
|
|
if forwardMatch.byeState == false || forwardMatch.disabled != state { |
|
|
|
forwardMatch.byeState = true |
|
|
|
forwardMatch.byeState = true |
|
|
|
forwardMatch._toggleMatchDisableState(false, forward: true) |
|
|
|
forwardMatch._toggleMatchDisableState(state, forward: true) |
|
|
|
} else if forwardMatch.disabled != state { |
|
|
|
} |
|
|
|
forwardMatch._toggleMatchDisableState(state, forward: true) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// if next.disabled == false { |
|
|
|
// if next.disabled == false { |
|
|
|
@ -368,7 +368,7 @@ defer { |
|
|
|
if single == false { |
|
|
|
if single == false { |
|
|
|
_toggleLoserMatchDisableState(state) |
|
|
|
_toggleLoserMatchDisableState(state) |
|
|
|
if forward { |
|
|
|
if forward { |
|
|
|
//_toggleForwardMatchDisableState(state) |
|
|
|
_toggleForwardMatchDisableState(state) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
topPreviousRoundMatch()?._toggleMatchDisableState(state) |
|
|
|
topPreviousRoundMatch()?._toggleMatchDisableState(state) |
|
|
|
bottomPreviousRoundMatch()?._toggleMatchDisableState(state) |
|
|
|
bottomPreviousRoundMatch()?._toggleMatchDisableState(state) |
|
|
|
|