X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=9c8cadf3bf5ae3ee28b1100f7b5365fce7879066;hp=1996ded67110bb374dbdce4f5fb054a0f5d6fe66;hb=ad1e629eafacac9870bbcff3d9d7bece7582ddd2;hpb=7b53b5a78427c59e6ff8687465e092245bd1c7e1 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)