Skip to content

Commit

Permalink
fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ross39 committed Dec 19, 2023
1 parent 1b36815 commit a0c7280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/analyse/src/practice/practiceCtrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a0c7280

Please sign in to comment.