X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=6faa1b60c7d26a92165628936afe8fb4754489c0;hp=07343c5ad3b9663204a0e6e33c1fc6ce313d53fa;hb=5bcc9b31a762645af3d35192e7359771c95d4ff7;hpb=4f51861013271a060b358884097a676e3d42d496 diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index 07343c5a..6faa1b60 100644 --- 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"); },