From f6c6d0c3c1b2fa33f8c7cfbbc1e9ab869c0054dd Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Mon, 30 Mar 2020 02:42:07 +0200 Subject: [PATCH] Fix typo for en passant captures --- client/src/variants/Omega.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = []; -- 2.44.0