summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/games/reversi/core.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/games/reversi/core.ts b/src/games/reversi/core.ts
index 9199efa092..481b5b0f75 100644
--- a/src/games/reversi/core.ts
+++ b/src/games/reversi/core.ts
@@ -110,7 +110,7 @@ export default class Reversi {
* 白石の数
*/
public get whiteCount() {
- return count(BLACK, this.board);
+ return count(WHITE, this.board);
}
/**