Skip to content

Commit

Permalink
Made the change have less of a blast radius.
Browse files Browse the repository at this point in the history
  • Loading branch information
GideonPotok committed Mar 7, 2024
1 parent 2f1d5f4 commit 6efc69b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ui/analyse/src/practice/practiceCtrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,11 @@ export function make(root: AnalyseCtrl, playableDepth: () => number): PracticeCt
}

function isMyTurn(): boolean {
return root.turnColor() === root.playerColor();
if (root.data.game.variant.key === 'racingKings'){
return root.turnColor() === root.playerColor();
} else {
return root.turnColor() === root.bottomColor();
}
}

function checkCeval() {
Expand Down

0 comments on commit 6efc69b

Please sign in to comment.