From: Benjamin Auder Date: Mon, 6 Apr 2020 09:41:41 +0000 (+0200) Subject: Do not send new-move message in analyze mode X-Git-Url: https://git.auder.net/variants/Cwda/vendor/img/common.css?a=commitdiff_plain;h=de6860abfca2fee63d61b6ec7145dfc89d9e50c8;p=vchess.git Do not send new-move message in analyze mode --- diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index a0bcef0a..2c133fbe 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -514,7 +514,7 @@ export default { this.inMultimove = false; this.score = computeScore(); if (this.mode != "analyze" && !navigate) { - if (!noemit) { + if (!noemit && this.mode != "analyze") { // Post-processing (e.g. computer play). const L = this.moves.length; // NOTE: always emit the score, even in unfinished,