X-Git-Url: https://git.auder.net/assets/icon_infos.svg?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=85007395acb1dc185527aba19e2242830e98fb92;hb=e2d2b49c4b8f5228126991ac5cf41086a51a4285;hp=9783c71fd88e05b9cb68557674df5a7c4d8fc94d;hpb=db1f1f9adb920605c7a16b060a7737e54636ee08;p=vchess.git 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;