Small fix
[vchess.git] / client / src / components / BaseGame.vue
index a2d78a0..6d9904e 100644 (file)
@@ -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: {