projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small fix
[vchess.git]
/
client
/
src
/
components
/
BaseGame.vue
diff --git
a/client/src/components/BaseGame.vue
b/client/src/components/BaseGame.vue
index
a2d78a0
..
6d9904e
100644
(file)
--- a/
client/src/components/BaseGame.vue
+++ b/
client/src/components/BaseGame.vue
@@
-62,8
+62,9
@@
export default {
"game.moveToPlay": function() {
this.play(this.game.moveToPlay, "receive", this.game.vname=="Dark");
},
"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: {
},
},
computed: {