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
/
Crazyhouse.js
diff --git
a/client/src/variants/Crazyhouse.js
b/client/src/variants/Crazyhouse.js
index
ff705c7
..
0a237c7
100644
(file)
--- a/
client/src/variants/Crazyhouse.js
+++ b/
client/src/variants/Crazyhouse.js
@@
-29,7
+29,7
@@
export const VariantRules = class CrazyhouseRules extends ChessRules {
}
getEpSquare(moveOrSquare) {
}
getEpSquare(moveOrSquare) {
- if (typeof moveOrSquare !== "object" || move.vanish.length > 0)
+ if (typeof moveOrSquare !== "object" || move
OrSquare
.vanish.length > 0)
return super.getEpSquare(moveOrSquare);
// Landing move: no en-passant
return undefined;
return super.getEpSquare(moveOrSquare);
// Landing move: no en-passant
return undefined;