Draft Ball variant + some fixes, enhancements and code cleaning
[vchess.git] / client / src / variants / Crazyhouse.js
index 321bf4c..2307eaf 100644 (file)
@@ -22,10 +22,13 @@ export class CrazyhouseRules extends ChessRules {
 
   static ParseFen(fen) {
     const fenParts = fen.split(" ");
-    return Object.assign(ChessRules.ParseFen(fen), {
-      reserve: fenParts[5],
-      promoted: fenParts[6]
-    });
+    return Object.assign(
+      ChessRules.ParseFen(fen),
+      {
+        reserve: fenParts[5],
+        promoted: fenParts[6]
+      }
+    );
   }
 
   getEpSquare(moveOrSquare) {