X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=85007395acb1dc185527aba19e2242830e98fb92;hp=9783c71fd88e05b9cb68557674df5a7c4d8fc94d;hb=e533e1ba918a45e6f8f3292dc5180ec9cb05f4d7;hpb=2aca9d7b29e3287a1e43fa332c180f2ba7f2df37 diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index 9783c71f..85007395 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -368,8 +368,9 @@ export default { const message = getScoreMessage(score); if (!navigate && this.game.mode != "analyze") this.$emit("gameover", score, message); - // Just show score on screen (allow undo) - else this.showEndgameMsg(score + " . " + this.st.tr[message]); + else if (this.game.mode == "analyze") + // Just show score on screen (allow undo) + this.showEndgameMsg(score + " . " + this.st.tr[message]); } if (!navigate && this.game.mode != "analyze") { const L = this.moves.length;