Skip to content

Commit

Permalink
Update ui/analyse/src/practice/practiceCtrl.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
GideonPotok authored Mar 6, 2024
1 parent be6d686 commit 2f1d5f4
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 @@ -136,7 +136,7 @@ export function make(root: AnalyseCtrl, playableDepth: () => number): PracticeCt
}

function isMyTurn(): boolean {
return root.turnColor() === root.playerColor(); // root.data.game.player;
return root.turnColor() === root.playerColor();
}

function checkCeval() {
Expand Down

0 comments on commit 2f1d5f4

Please sign in to comment.