Skip to content

Set Opponent1 forfeit should reset Opponent2 forfeit and vice versa #128

Answered by Drarig29
yongshun950824 asked this question in Q&A
Discussion options

You must be logged in to vote

I fixed this, in the way that I find the most appropriate.

I don't want to change the way I handle forfeit input right now, this would be another feature. Moreover, a double forfeit isn't possible in elimination brackets, but it is possible in round-robin tournaments.

I think you should do what is already supported: resetting results before, then set the other forfeit.

So I fixed the error that reset.matchResults() was throwing when a match had child games instead.

You can take a look at the commit I just did, which adds a big comment about how I view forfeit working with a parent match and its child games: 89a9cd7

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Drarig29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants