We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc64c78 commit 1a29ad5Copy full SHA for 1a29ad5
src/hooks/useClientAnalysisController/useClientAnalysisController.ts
@@ -74,10 +74,12 @@ export const useClientAnalysisController = (game: AnalyzedGame) => {
74
75
useEffect(() => {
76
if (!controller.currentNode) return
77
- if (game.type === 'tournament') return
78
-
79
const board = new Chess(controller.currentNode.fen)
80
- if (controller.currentNode.analysis.stockfish?.depth == 18) return
+ if (
+ controller.currentNode.analysis.stockfish &&
+ controller.currentNode.analysis.stockfish?.depth >= 18
81
+ )
82
+ return
83
84
const evaluationStream = streamEvaluations(
85
board.fen(),
0 commit comments