Fix enter/exit analyze mode in the middle of a multi-move
authorBenjamin Auder <benjamin.auder@somewhere>
Thu, 9 Apr 2020 14:59:09 +0000 (16:59 +0200)
committerBenjamin Auder <benjamin.auder@somewhere>
Thu, 9 Apr 2020 14:59:09 +0000 (16:59 +0200)
client/src/components/BaseGame.vue

index 7424aa4..a1af478 100644 (file)
@@ -281,6 +281,7 @@ export default {
           fen = mv[mv.length-1].fen;
         }
         this.vr = new V(fen);
+        this.inMultimove = false; //in case of
         this.incheck = this.vr.getCheckSquares();
         if (this.cursor >= 0) this.lastMove = this.moves[this.cursor];
         else this.lastMove = null;