X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=6d9904e6004af57ceacd75f16dcb0a8e1fccb2d0;hp=a2d78a069d959660b3284be5d1c8aa559172366d;hb=52a8ab55fed35fcbf8d00d4952fb32dd3535f5b7;hpb=7aa548e72ba8a4af4e2c7f63e7723ad10d2cd3a4 diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index a2d78a06..6d9904e6 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -62,8 +62,9 @@ export default { "game.moveToPlay": function() { this.play(this.game.moveToPlay, "receive", this.game.vname=="Dark"); }, - "game.score": function() { - this.endGame(this.game.score, this.game.scoreMsg); + "game.score": function(score) { + if (score != "*") + this.endGame(score, this.game.scoreMsg); }, }, computed: {