Some fixes, and add 2 variants: Checkless and Parachute
[vchess.git] / client / src / variants / Recycle.js
index 8b070fa..adaceb0 100644 (file)
@@ -27,13 +27,6 @@ export class RecycleRules extends ChessRules {
     );
   }
 
-  getEpSquare(moveOrSquare) {
-    if (typeof moveOrSquare !== "object" || moveOrSquare.vanish.length > 0)
-      return super.getEpSquare(moveOrSquare);
-    // Landing move: no en-passant
-    return undefined;
-  }
-
   static GenRandInitFen(randomness) {
     return ChessRules.GenRandInitFen(randomness) + " 0000000000";
   }