From: Benjamin Auder Date: Tue, 13 Apr 2021 11:09:54 +0000 (+0200) Subject: Typo X-Git-Url: https://git.auder.net/variants/Bario/current/doc/html/js/parser.js?a=commitdiff_plain;h=c31c31c5e70b73cc22e1574a274032e6c0ea9ac9;p=vchess.git Typo --- 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) ); }