From: Benjamin Auder Date: Mon, 6 Apr 2020 12:04:13 +0000 (+0200) Subject: Some more traces... X-Git-Url: https://git.auder.net/variants/Chakart/doc/scripts/assets/current/git-favicon.png?a=commitdiff_plain;h=130cca8b28bbba4fe586f4ddad22808d2aa9a537;p=vchess.git Some more traces... --- diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index df2e8af5..228d9c4b 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -496,6 +496,9 @@ export default { if (animate && smove.start.x >= 0) { self.animateMove(smove, () => { playSubmove(smove); + +console.log(moveIdx + " " + move.length); + if (moveIdx < move.length) setTimeout(executeMove, 500); else afterMove(smove, initurn);