From 7e98914d2cc787c5d1b1604987a9644b8d4c566f Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Fri, 19 Mar 2021 22:51:16 +0100 Subject: [PATCH] Fix Shinobi --- client/src/variants/Shinobi.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/variants/Shinobi.js b/client/src/variants/Shinobi.js index 8afe6fc7..faa4cd7e 100644 --- a/client/src/variants/Shinobi.js +++ b/client/src/variants/Shinobi.js @@ -249,6 +249,7 @@ export class ShinobiRules extends ChessRules { // Attacked by white: return ( super.isAttackedByKing(sq, 'w') || + super.isAttackedByPawn(sq, 'w') || this.isAttackedByCaptain(sq, 'w') || this.isAttackedByNinja(sq, 'w') || this.isAttackedBySamurai(sq, 'w') || -- 2.44.0