X-Git-Url: https://git.auder.net/img/rock_paper_scissors_lizard_spock.gif?a=blobdiff_plain;ds=sidebyside;f=client%2Fsrc%2Fvariants%2FCrazyhouse.js;h=576f7d2b3a3dfeff2b1d0a1d8979c668a977bf24;hb=9edfb7146fdc4dd08914b2a117d2852e705353aa;hp=2307eaffe9fbb02107f20dfb4ed260da5917f9cd;hpb=6f2f94374f1e73c375edf732d9425e575e81fff7;p=vchess.git diff --git a/client/src/variants/Crazyhouse.js b/client/src/variants/Crazyhouse.js index 2307eaff..576f7d2b 100644 --- a/client/src/variants/Crazyhouse.js +++ b/client/src/variants/Crazyhouse.js @@ -31,13 +31,6 @@ export class CrazyhouseRules extends ChessRules { ); } - getEpSquare(moveOrSquare) { - if (typeof moveOrSquare !== "object" || moveOrSquare.vanish.length > 0) - return super.getEpSquare(moveOrSquare); - // Landing move: no en-passant - return undefined; - } - static GenRandInitFen(randomness) { return ChessRules.GenRandInitFen(randomness) + " 0000000000 -"; }