X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FComputerGame.vue;h=f5d462371d21c2de94a81f74299a9ccec51672e3;hb=93d1d7a7e07e7bad94318d3cb4cbe906d85bd811;hp=21b1113580ed9b36d1de02d123d6784170217a2b;hpb=834c202a003ca6285106133336701b340939ba12;p=vchess.git diff --git a/client/src/components/ComputerGame.vue b/client/src/components/ComputerGame.vue index 21b11135..f5d46237 100644 --- a/client/src/components/ComputerGame.vue +++ b/client/src/components/ComputerGame.vue @@ -107,8 +107,8 @@ export default { this.playComputerMove(); } }, - // When game ends normally, just switch to analyze mode - gameOver: function() { + gameOver: function(score) { + // Just switch to analyze mode: no user action can set score this.game.mode = "analyze"; }, },