From 96aa6f038885b1c0bb04b71c59cb767553051fc8 Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Thu, 12 Mar 2020 17:33:54 +0100 Subject: [PATCH] Fix games rendering --- client/src/views/Game.vue | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 -- 2.44.0