From 691d6952114dd716ca66193a029f5e60be50888c Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Mon, 6 Apr 2020 15:26:37 +0200 Subject: [PATCH] Some more traces... (fix typo) --- client/src/components/BaseGame.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index be582950..9878039e 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -466,7 +466,7 @@ export default { this.lastMove = smove; // Condition is "!navigate" but we mean "!this.autoplay" if (!navigate) { - IF (this.cursor < this.moves.length - 1) + if (this.cursor < this.moves.length - 1) this.moves = this.moves.slice(0, this.cursor + 1); this.moves.push(smove); } -- 2.44.0