diff --git a/js/main.js b/js/main.js index 8e6e9a7..d38aef8 100644 --- a/js/main.js +++ b/js/main.js @@ -233,7 +233,7 @@ function resolveCaptures(point) { point.checkCapture(); if(point.capturing.filter(cap => cap).length ) { point.capturing.forEach(cap => { - gameState.playerState[cap.stone > 0 ? 'bCaptures' : 'wCaptures']++; + gameState.playerState[point.stone > 0 ? 'bCaptures' : 'wCaptures']++; cap.stone = 0; }) }