Fix typo for en passant captures
[vchess.git] / client / src / variants / Omega.js
index 3310dd5..7b5576c 100644 (file)
@@ -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 = [];