X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FShogi.js;h=da9a7c4c02e9fcf8982796fdacabf651100d8fef;hb=118cff5c4d458f1f76a6f1f6813f4d4feaf4594c;hp=7e827bc2ebbd9fac256768cd193553dd0ddd0743;hpb=0b9a6ff95fb80a9f40077e6554c420626a1e0454;p=vchess.git diff --git a/client/src/variants/Shogi.js b/client/src/variants/Shogi.js index 7e827bc2..da9a7c4c 100644 --- a/client/src/variants/Shogi.js +++ b/client/src/variants/Shogi.js @@ -268,7 +268,7 @@ export class ShogiRules extends ChessRules { // Modified to take promotions into account getSlideNJumpMoves([x, y], steps, options) { - const options = options || {}; + options = options || {}; const color = this.turn; const oneStep = options.oneStep; const forcePromoteOnLastRank = options.force;