X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=c4ffe5cafe9128930d50695ad242a3d8c47ea43f;hb=ea14297f666bf99ee7edf996d71cec45c71433cf;hp=037232195f4a2ac899417c9a2a99ca3725fa8bfa;hpb=fbd68f7524e24a45fd28e7b0c013a587fcfacd13;p=vchess.git 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(); }