Some more traces... (fix typo)
authorBenjamin Auder <benjamin.auder@somewhere>
Mon, 6 Apr 2020 13:26:37 +0000 (15:26 +0200)
committerBenjamin Auder <benjamin.auder@somewhere>
Mon, 6 Apr 2020 13:26:37 +0000 (15:26 +0200)
client/src/components/BaseGame.vue

index be58295..9878039 100644 (file)
@@ -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);
           }