From b20f4bd2d6366bb099d2f95831e67e83a61fae96 Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Mon, 6 Apr 2020 15:20:48 +0200 Subject: [PATCH] Some more traces... --- client/src/components/BaseGame.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index 228d9c4b..be582950 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); } @@ -490,6 +490,7 @@ export default { let self = this; const initurn = this.vr.turn; (function executeMove() { +console.log("execute move " + move.length); const smove = move[moveIdx++]; // NOTE: condition "smove.start.x >= 0" required for Dynamo, // because second move may be empty. -- 2.44.0