From: Benjamin Auder Date: Tue, 27 Apr 2021 18:28:24 +0000 (+0200) Subject: Typo in Minishogi X-Git-Url: https://git.auder.net/pieces/Cwda/img/current/rpsls.js?a=commitdiff_plain;h=21704b041240cb440d03cfa64a90ed0be6f28415;p=vchess.git Typo in Minishogi --- diff --git a/client/src/variants/Minishogi.js b/client/src/variants/Minishogi.js index 15148296..9ae19231 100644 --- a/client/src/variants/Minishogi.js +++ b/client/src/variants/Minishogi.js @@ -128,7 +128,7 @@ export class MinishogiRules extends ShogiRules { return moves; } - getSlideNJumpMoves([x, y], steps, options) { + getSlideNJumpMoves_opt([x, y], steps, options) { options = options || {}; const color = this.turn; const oneStep = options.oneStep;