X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=ae6c128feb7af01e84b35e348cf4c251b61e79db;hb=ff3a8d16dc0aed16ff471834fe7af0253b50ead6;hp=8cb1f68a705b93ea4c751391d604b41a8eec360c;hpb=5b18515f0b7dbfab8a2770d9b0fc7aace09267dc;p=vchess.git diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index 8cb1f68a..ae6c128f 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -501,9 +501,9 @@ export default { else this.lastMove.notation += "#"; } } - if (score != "*" && this.mode == "analyze") { + if (score != "*" && ["analyze", "versus"].includes(this.mode)) { const message = getScoreMessage(score); - // Just show score on screen (allow undo) + // Show score on screen this.showEndgameMsg(score + " . " + this.st.tr[message]); } return score;