From 8a8687b8d6cb69fd2c182248bb1c0a6a39144b76 Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Fri, 8 Jan 2021 00:26:02 +0100 Subject: [PATCH] Another typo... getting late --- client/src/variants/Otage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.44.0