From: Benjamin Auder Date: Thu, 7 Jan 2021 23:23:56 +0000 (+0100) Subject: Fix typo X-Git-Url: https://git.auder.net/variants/Baroque/current/app_dev.php/parser.js?a=commitdiff_plain;h=ca4d732ac23cc46c4bfd9c765f6fa309c3d0cbc5;p=vchess.git Fix typo --- 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" );