From c3f02a0e9d1104911f3dc70ca9b531f73b1bd769 Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Thu, 9 Apr 2020 20:45:19 +0200 Subject: [PATCH] Reset last move when cancelling half move --- client/src/components/BaseGame.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index 1840882f..e99c194e 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -592,6 +592,8 @@ export default { if (this.inMultimove) { this.cancelCurrentMultimove(); this.incheck = this.vr.getCheckSquares(); + if (this.cursor >= 0) this.lastMove = this.moves[this.cursor]; + else this.lastMove = null; } else { if (!move) { const minCursor = -- 2.44.0