From: Benjamin Auder Date: Mon, 30 Mar 2020 00:42:07 +0000 (+0200) Subject: Fix typo for en passant captures X-Git-Url: https://git.auder.net/%7B%7B%20asset%28%27mixstore/images/img/current/pieces/config.php?a=commitdiff_plain;h=f6c6d0c3c1b2fa33f8c7cfbbc1e9ab869c0054dd;p=vchess.git Fix typo for en passant captures --- diff --git a/client/src/variants/Omega.js b/client/src/variants/Omega.js index 3310dd5e..7b5576cf 100644 --- a/client/src/variants/Omega.js +++ b/client/src/variants/Omega.js @@ -274,7 +274,7 @@ export class OmegaRules extends ChessRules { } } - getEnpassanCaptures([x, y], shiftX) { + getEnpassantCaptures([x, y], shiftX) { const Lep = this.epSquares.length; const epSquare = this.epSquares[Lep - 1]; let moves = [];