From ca4d732ac23cc46c4bfd9c765f6fa309c3d0cbc5 Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Fri, 8 Jan 2021 00:23:56 +0100 Subject: [PATCH] Fix typo --- 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 84970983..b6f38b33 100644 --- a/client/src/variants/Otage.js +++ b/client/src/variants/Otage.js @@ -381,7 +381,7 @@ export class OtageRules extends ChessRules { break; case V.KING: baseMoves = this.getSlideNJumpMoves( - sq, + [x, y], V.steps[V.ROOK].concat(V.steps[V.BISHOP]), "oneStep" ); -- 2.44.0