From a0c72800e51873b8ce4abf982e5fd07366258358 Mon Sep 17 00:00:00 2001 From: ross_heaney Date: Tue, 19 Dec 2023 23:22:33 +0000 Subject: [PATCH] fixed formatting --- ui/analyse/src/practice/practiceCtrl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/analyse/src/practice/practiceCtrl.ts b/ui/analyse/src/practice/practiceCtrl.ts index 76929705d7c5b..335eed754c5dd 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();