projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo
[vchess.git]
/
client
/
src
/
variants
/
Checkered.js
diff --git
a/client/src/variants/Checkered.js
b/client/src/variants/Checkered.js
index
fa3a6b7
..
78b5ef0
100644
(file)
--- a/
client/src/variants/Checkered.js
+++ b/
client/src/variants/Checkered.js
@@
-91,7
+91,7
@@
export const VariantRules = class CheckeredRules extends ChessRules {
}
getEpSquare(moveOrSquare) {
}
getEpSquare(moveOrSquare) {
- if (typeof moveOrSquare !== "object" || move.appear[0].c != 'c')
+ if (typeof moveOrSquare !== "object" || move
OrSquare
.appear[0].c != 'c')
return super.getEpSquare(moveOrSquare);
// Checkered move: no en-passant
return undefined;
return super.getEpSquare(moveOrSquare);
// Checkered move: no en-passant
return undefined;