From: Benjamin Auder Date: Thu, 7 Jan 2021 23:26:02 +0000 (+0100) Subject: Another typo... getting late X-Git-Url: https://git.auder.net/js/css/assets/current/git-favicon.png?a=commitdiff_plain;h=8a8687b8d6cb69fd2c182248bb1c0a6a39144b76;p=vchess.git Another typo... getting late --- diff --git a/client/src/variants/Otage.js b/client/src/variants/Otage.js index b6f38b33..b3fabec9 100644 --- a/client/src/variants/Otage.js +++ b/client/src/variants/Otage.js @@ -386,7 +386,7 @@ export class OtageRules extends ChessRules { "oneStep" ); if (!noCastle && this.castleFlags[this.turn].some(v => v < V.size.y)) - baseMoves = baseMoves.concat(this.getCastleMoves(sq)); + baseMoves = baseMoves.concat(this.getCastleMoves([x, y])); break; } // When a pawn in an union reaches final rank with a non-standard