X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=18a28366f9d1c0d6a2b505c2962cb297a1329097;hb=96aa6f038885b1c0bb04b71c59cb767553051fc8;hp=6282680845cbea3d84e98d8a653e855ac797b4eb;hpb=7c42b2ff7b431f49c4ab8cfb97ed5a51a6574586;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index 62826808..18a28366 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -1041,11 +1041,8 @@ export default { }, game, ); - if (this.gameIsLoading) - // Re-load game because we missed some moves: - // artificially reset BaseGame (required if moves arrived in wrong order) - this.$refs["basegame"].re_setVariables(); - else { + this.$refs["basegame"].re_setVariables(this.game); + if (!this.gameIsLoading) { // Initial loading: this.gotMoveIdx = game.moves.length - 1; // If we arrive here after 'nextGame' action, the board might be hidden