From: Benjamin Auder Date: Fri, 1 Jan 2021 14:35:11 +0000 (+0100) Subject: Fix Hoppelpoppel too fast copy-paste :) X-Git-Url: https://git.auder.net/variants/Chakart/doc/scripts/img/pieces/cn.svg?a=commitdiff_plain;h=2baa6f2c65b1d6289b3cf5fbc88bba2897cca58c;p=vchess.git Fix Hoppelpoppel too fast copy-paste :) --- 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,