projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some fixes. TODO: challenge is lost if navigation to variants + back to hall. Ask...
[vchess.git]
/
client
/
src
/
components
/
ComputerGame.vue
diff --git
a/client/src/components/ComputerGame.vue
b/client/src/components/ComputerGame.vue
index
21b1113
..
f5d4623
100644
(file)
--- 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";
},
},