X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=9c8cadf3bf5ae3ee28b1100f7b5365fce7879066;hb=ad1e629eafacac9870bbcff3d9d7bece7582ddd2;hp=1996ded67110bb374dbdce4f5fb054a0f5d6fe66;hpb=93ce6119a67b8510762dd68a07936b6f22f2ad67;p=vchess.git diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index 1996ded6..9c8cadf3 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -441,7 +441,9 @@ export default { const initurn = this.vr.turn; (function executeMove() { const smove = move[moveIdx++]; - if (animate) { + // NOTE: condition "smove.start.x >= 0" required for Dynamo, + // because second move may be empty. + if (animate && smove.start.x >= 0) { self.animateMove(smove, () => { playSubmove(smove); if (moveIdx < move.length)