IPVGO: Do not update captures on passed analysis boards (#2415)

This commit is contained in:
Michael Ficocelli
2025-12-21 16:44:24 -05:00
committed by GitHub
parent 49e231fd41
commit 4218b01dfb
8 changed files with 127 additions and 20 deletions
+1 -2
View File
@@ -90,8 +90,7 @@ export function getNewBoardStateFromSimpleBoard(
newState.previousPlayer = GoColor.black;
}
}
updateCaptures(newState.board, newState.previousPlayer ?? GoColor.white);
updateChains(newState.board);
return newState;
}