diff --git a/src/components/boards/BoardGame.tsx b/src/components/boards/BoardGame.tsx index 60388ad7..8347a54b 100644 --- a/src/components/boards/BoardGame.tsx +++ b/src/components/boards/BoardGame.tsx @@ -569,7 +569,13 @@ function BoardGame() { } if (pos?.turn === "white" && blackTime !== null) { setBlackTime( - (prev) => prev! + (players.black.timeControl?.increment ?? 0), + (prev) => { + if (pos?.fullmoves === 1) { + return prev!; + } + + return prev! + (players.black.timeControl?.increment ?? 0); + } ); } setIntervalId(intervalId);