X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=f10420d7a8a7b9ef6168f9931466d3d3c5620383;hb=41cb9b940084d6f56351a772f0340ebf0bc8d1bc;hp=3b15742dc2bb29644659480c0851883a883cc521;hpb=f21cd6d9c23da37d729f20ea4c08e56b1a7b10a1;p=vchess.git diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index 3b15742d..f10420d7 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -59,6 +59,9 @@ export default { "game.fenStart": function() { this.re_setVariables(); }, + "game.score": function() { + this.score = this.game.score; + }, }, computed: { showMoves: function() { @@ -69,7 +72,7 @@ export default { return this.game.vname != "Dark" || this.score != "*"; }, analyze: function() { - return this.game.mode == "analyze" || this.game.score != "*"; + return this.game.mode == "analyze" || this.score != "*"; }, }, created: function() {