X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FHoppelpoppel.js;h=59c20bb81a00c7de1dbb774e14cc256d56ad4de9;hb=2baa6f2c65b1d6289b3cf5fbc88bba2897cca58c;hp=c35046627f9cf65f83f2d232e6ee28b02ab4d847;hpb=ac4e2cabce7a0faeceaa646d31721161bd4a8cf4;p=vchess.git diff --git a/client/src/variants/Hoppelpoppel.js b/client/src/variants/Hoppelpoppel.js index c3504662..59c20bb8 100644 --- a/client/src/variants/Hoppelpoppel.js +++ b/client/src/variants/Hoppelpoppel.js @@ -51,7 +51,7 @@ export class HoppelpoppelRules extends ChessRules { ); } - isAttackedByAntiking([x, y], color) { + isAttackedByBishop([x, y], color) { return super.isAttackedBySlideNJump( [x, y], color,