From c078bb5ed396ae7dd3674be14c2849aac534da6b Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Tue, 8 Dec 2020 12:20:51 +0100
Subject: [PATCH] Fix Fullcavalry

---
 client/src/variants/Fullcavalry.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/client/src/variants/Fullcavalry.js b/client/src/variants/Fullcavalry.js
index 0eb53f1f..c211aa8f 100644
--- a/client/src/variants/Fullcavalry.js
+++ b/client/src/variants/Fullcavalry.js
@@ -91,7 +91,7 @@ export class FullcavalryRules extends ChessRules {
   static GenRandInitFen(randomness) {
     if (randomness == 0)
       // Deterministic:
-      return "efbqkbnm/pppppppp/8/8/8/8/PPPPPPPP/EDBQKBNM w 0 ahah -";
+      return "enbqkbnm/pppppppp/8/8/8/8/PPPPPPPP/ENBQKBNM w 0 ahah -";
 
     const baseFen = ChessRules.GenRandInitFen(randomness);
     // Replace rooks by lancers with expected orientation:
@@ -328,7 +328,7 @@ export class FullcavalryRules extends ChessRules {
 
   filterValid(moves) {
     // At move 1, forbid captures (in case of...):
-    if (this.movesCount >= 2) return moves;
+    if (this.movesCount >= 2) return super.filterValid(moves);
     return moves.filter(m => m.vanish.length == 1);
   }
 
-- 
2.44.0