Skip to content

Commit

Permalink
Typing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gbtami committed Oct 23, 2023
1 parent d1cd6c3 commit 909e0ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/analysisCtrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -809,13 +809,13 @@ export class AnalysisController extends GameController {
const variMoves = this.steps[ply].vari;
if (variMoves) {
for (let idx = 0; idx <= idxInVari; idx++) {
this.UCImovelist.push(variMoves[idx].move);
this.UCImovelist.push(variMoves[idx].move!);
};
break;
}
// we are in the main line
} else {
this.UCImovelist.push(this.steps[ply].move);
this.UCImovelist.push(this.steps[ply].move!);
}
}
}
Expand Down

0 comments on commit 909e0ef

Please sign in to comment.