projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Show score message in versus mode too. Fix Ambiguous chess for pawns promotions
[vchess.git]
/
client
/
src
/
components
/
BaseGame.vue
diff --git
a/client/src/components/BaseGame.vue
b/client/src/components/BaseGame.vue
index
8cb1f68
..
ae6c128
100644
(file)
--- a/
client/src/components/BaseGame.vue
+++ b/
client/src/components/BaseGame.vue
@@
-501,9
+501,9
@@
export default {
else this.lastMove.notation += "#";
}
}
else this.lastMove.notation += "#";
}
}
- if (score != "*" &&
this.mode == "analyze"
) {
+ if (score != "*" &&
["analyze", "versus"].includes(this.mode)
) {
const message = getScoreMessage(score);
const message = getScoreMessage(score);
- //
Just show score on screen (allow undo)
+ //
Show score on screen
this.showEndgameMsg(score + " . " + this.st.tr[message]);
}
return score;
this.showEndgameMsg(score + " . " + this.st.tr[message]);
}
return score;