X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=5ab02fad5b1ef5389eaa48a82d457b70b9f49c95;hp=fd26d87204f5c0b9e48743c121c0e36bb792183b;hb=e90bafa8fb5fb7641728231bf2398590d96c672a;hpb=2f8dce6a81063289d9d4cbca7971f80b1b194b84 diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index fd26d872..5ab02fad 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -533,6 +533,8 @@ export default { for (let i=move.length -1; i >= 0; i--) this.vr.undo(move[i]); this.moves.pop(); this.cursor--; + // The board may still show the possible moves: (TODO: bad solution) + this.$refs["board"].resetCurrentAttempt(); this.inMultimove = false; }, cancelLastMove: function() {