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