Skip to content

Commit

Permalink
fix: winner in draws
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjosethomas committed Nov 3, 2024
1 parent 8c93235 commit 5729d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/play/play.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const submitGameMove = async (
move_times: moveTimes,
fen: fen,
brain_moves: brainMoves,
winner: winner,

...(winner && winner !== 'none' ? { winner: winner } : {}),
}),
})
Expand Down

0 comments on commit 5729d97

Please sign in to comment.