'update'
[vchess.git] / client / src / components / ComputerGame.vue
index 21b1113..f5d4623 100644 (file)
@@ -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";
     },
   },