From 81a0b2a9c4ad66bf3243f89cc1f3c12cf016c4b8 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Tue, 31 Mar 2020 03:17:43 +0200
Subject: [PATCH] Fix CC queen attacks

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

diff --git a/client/src/variants/Colorbound.js b/client/src/variants/Colorbound.js
index c3d59911..55d89cbf 100644
--- a/client/src/variants/Colorbound.js
+++ b/client/src/variants/Colorbound.js
@@ -315,7 +315,7 @@ export class ColorboundRules extends ChessRules {
     return (
       this.isAttackedBySlideNJump(sq, color, V.C_QUEEN, V.steps[V.BISHOP]) ||
       this.isAttackedBySlideNJump(
-        sq, color, V.C_ROOK, V.steps[V.KNIGHT], "oneStep")
+        sq, color, V.C_QUEEN, V.steps[V.KNIGHT], "oneStep")
     );
   }
 
-- 
2.44.0