Typo
authorBenjamin Auder <benjamin.auder@somewhere>
Tue, 13 Apr 2021 11:09:54 +0000 (13:09 +0200)
committerBenjamin Auder <benjamin.auder@somewhere>
Tue, 13 Apr 2021 11:09:54 +0000 (13:09 +0200)
client/src/variants/Shogun.js

index c45dff2..56c8d80 100644 (file)
@@ -306,7 +306,7 @@ export class ShogunRules extends ChessRules {
   isAttackedByCaptain(sq, color) {
     const steps = V.steps[V.BISHOP].concat(V.steps[V.ROOK]);
     return (
-      super.isAttackedBySlideNJump(sq, color, V.DUCHESS, steps, 1)
+      super.isAttackedBySlideNJump(sq, color, V.CAPTAIN, steps, 1)
     );
   }