Fix Hoppelpoppel too fast copy-paste :)
authorBenjamin Auder <benjamin.auder@somewhere>
Fri, 1 Jan 2021 14:35:11 +0000 (15:35 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Fri, 1 Jan 2021 14:35:11 +0000 (15:35 +0100)
client/src/variants/Hoppelpoppel.js

index c350466..59c20bb 100644 (file)
@@ -51,7 +51,7 @@ export class HoppelpoppelRules extends ChessRules {
     );
   }
 
-  isAttackedByAntiking([x, y], color) {
+  isAttackedByBishop([x, y], color) {
     return super.isAttackedBySlideNJump(
       [x, y],
       color,