From 2baa6f2c65b1d6289b3cf5fbc88bba2897cca58c Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Fri, 1 Jan 2021 15:35:11 +0100
Subject: [PATCH] Fix Hoppelpoppel too fast copy-paste :)

---
 client/src/variants/Hoppelpoppel.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,
-- 
2.44.0