X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FComputerGame.vue;h=46b672bbaf4687e65ae67f3b516c6c36693aaedf;hp=941016b7377bcd6accf7eb9401df59562e415cc9;hb=430a203855578f9bbf4c851165c6066a741ff1f8;hpb=72ccbd6730241771e6ba86b6a5b62597b4c7e2f4 diff --git a/client/src/components/ComputerGame.vue b/client/src/components/ComputerGame.vue index 941016b7..46b672bb 100644 --- a/client/src/components/ComputerGame.vue +++ b/client/src/components/ComputerGame.vue @@ -123,8 +123,9 @@ export default { this.playComputerMove(); } }, - gameOver: function(score) { + gameOver: function(score, scoreMsg) { this.game.score = score; + this.game.scoreMsg = scoreMsg; this.game.mode = "analyze"; this.$emit("game-over", score); //bubble up to Rules.vue },