From c31c31c5e70b73cc22e1574a274032e6c0ea9ac9 Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Tue, 13 Apr 2021 13:09:54 +0200 Subject: [PATCH] Typo --- client/src/variants/Shogun.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/variants/Shogun.js b/client/src/variants/Shogun.js index c45dff23..56c8d807 100644 --- a/client/src/variants/Shogun.js +++ b/client/src/variants/Shogun.js @@ -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) ); } -- 2.44.0