X-Git-Url: https://git.auder.net/?a=blobdiff_plain;ds=sidebyside;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=228d9c4be4ab17923a40080d974d09470c23a7d9;hb=130cca8b28bbba4fe586f4ddad22808d2aa9a537;hp=df2e8af5944f915486f2d899e67fe0322bbc2e0f;hpb=0f0552a7e966246b9c81dda5e1ca2cb1fddd8961;p=vchess.git 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);