X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FDoublemove2.js;h=7f3f6cecf26f0692babcbbf99eef42bfeb7f8eae;hp=080d13b62f20ded75233c4ff6814c0e276b39d87;hb=34bfe15106aab64346f549420f066fe72441172f;hpb=bc0b9205e41c5db0552e4ccf060b945342e36ed0 diff --git a/client/src/variants/Doublemove2.js b/client/src/variants/Doublemove2.js index 080d13b6..7f3f6cec 100644 --- a/client/src/variants/Doublemove2.js +++ b/client/src/variants/Doublemove2.js @@ -79,7 +79,7 @@ export class Doublemove2Rules extends ChessRules { return moves; } - isAttacked(sq, color) { + isAttacked() { // Goal is king capture => no checks return false; }