diff --git a/client/analysisCtrl.ts b/client/analysisCtrl.ts index 4fad48375..48ca19b94 100644 --- a/client/analysisCtrl.ts +++ b/client/analysisCtrl.ts @@ -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!); } } }