projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A few fixes (for updateCastleFlags()) + add Madhouse and Pocketknight variants
[vchess.git]
/
client
/
src
/
components
/
BaseGame.vue
diff --git
a/client/src/components/BaseGame.vue
b/client/src/components/BaseGame.vue
index
cb65f03
..
87d18ab
100644
(file)
--- a/
client/src/components/BaseGame.vue
+++ b/
client/src/components/BaseGame.vue
@@
-252,12
+252,10
@@
export default {
const checkSquares = this.vr.getCheckSquares();
if (checkSquares.length > 0) m.notation += "+";
if (idxM == Lm - 1) m.fen = this.vr.getFen();
const checkSquares = this.vr.getCheckSquares();
if (checkSquares.length > 0) m.notation += "+";
if (idxM == Lm - 1) m.fen = this.vr.getFen();
- if (idx == L - 1 && idxM == Lm - 1) {
- this.incheck = checkSquares;
- this.score = this.vr.getCurrentScore();
- if (["1-0", "0-1"].includes(this.score)) m.notation += "#";
- }
+ if (idx == L - 1 && idxM == Lm - 1) this.incheck = checkSquares;
});
});
+ this.score = this.vr.getCurrentScore();
+ if (["1-0", "0-1"].includes(this.score)) m.notation += "#";
});
}
if (firstMoveColor == "b") {
});
}
if (firstMoveColor == "b") {