Fix Shinobi
[vchess.git] / client / src / variants / Shinobi.js
index 8afe6fc..faa4cd7 100644 (file)
@@ -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') ||