From de6860abfca2fee63d61b6ec7145dfc89d9e50c8 Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Mon, 6 Apr 2020 11:41:41 +0200 Subject: [PATCH] Do not send new-move message in analyze mode --- client/src/components/BaseGame.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.44.0