projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Issue with observer in live games: moveToPlay repeated, no online indics ?!
[vchess.git]
/
client
/
src
/
components
/
BaseGame.vue
diff --git
a/client/src/components/BaseGame.vue
b/client/src/components/BaseGame.vue
index
07343c5
..
6faa1b6
100644
(file)
--- a/
client/src/components/BaseGame.vue
+++ b/
client/src/components/BaseGame.vue
@@
-71,6
+71,9
@@
export default {
},
// Received a new move to play:
"game.moveToPlay": function(newMove) {
+
+console.log(newMove);
+
if (!!newMove) //if stop + launch new game, get undefined move
this.play(newMove, "receive");
},