X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=9f4b6df803db3d687ddea57f826de7d50c3b923f;hp=b5a82dfbfda16cbcc9fb462f560fb233ce6807ea;hb=2c6cb25eb12074af1f0fb29383eef8a175abb0f0;hpb=21baf44462799a80c4b1cd772de8c3c4fa0b3d37 diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index b5a82dfb..9f4b6df8 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -249,9 +249,8 @@ export default { this.showEndgameMsg(score + " . " + message); } } - if (!this.analyze) { console.log("EMIT NEWMOVE"); + if (!this.analyze) this.$emit("newmove", move); //post-processing (e.g. computer play) - } }, undo: function(move) { const navigate = !move;