Skip to content

Commit d154e5c

Browse files
fix: games are instantly adjudicated when movecount key is not specified (#245)
1 parent 3cc246a commit d154e5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types/tournament_options.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_ORDERED_JSON(Sprt, alpha, beta, elo0, elo1, l
3737

3838
struct DrawAdjudication {
3939
int move_number = 0;
40-
int move_count = 0;
40+
int move_count = 1;
4141
int score = 0;
4242

4343
bool enabled = false;
@@ -46,7 +46,7 @@ NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_ORDERED_JSON(DrawAdjudication, move_number, m
4646
enabled)
4747

4848
struct ResignAdjudication {
49-
int move_count = 0;
49+
int move_count = 1;
5050
int score = 0;
5151

5252
bool enabled = false;

0 commit comments

Comments
 (0)