diff --git a/ui/analyse/src/practice/practiceCtrl.ts b/ui/analyse/src/practice/practiceCtrl.ts index 76929705d7c5..335eed754c5d 100644 --- a/ui/analyse/src/practice/practiceCtrl.ts +++ b/ui/analyse/src/practice/practiceCtrl.ts @@ -134,7 +134,7 @@ export function make(root: AnalyseCtrl, playableDepth: () => number): PracticeCt } function isMyTurn(): boolean { - if ((root.data.game.variant.key === 'racingKings') && (root.data.game.player === 'black')) { + if (root.data.game.variant.key === 'racingKings' && root.data.game.player === 'black') { return root.turnColor() !== root.bottomColor(); } return root.turnColor() === root.bottomColor();