X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=c4ffe5cafe9128930d50695ad242a3d8c47ea43f;hp=037232195f4a2ac899417c9a2a99ca3725fa8bfa;hb=ea14297f666bf99ee7edf996d71cec45c71433cf;hpb=1c58eb76b86d89b9aad29920240b12451f77ab95 diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index 03723219..c4ffe5ca 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -393,6 +393,7 @@ export default { for (let i=0; i < move.length; i++) this.vr.play(move[i]); if (!light) { this.lastMove = move[move.length-1]; + this.incheck = this.vr.getCheckSquares(this.vr.turn); computeScore(); this.emitFenIfAnalyze(); }