Start server implementation for correspondance play (early debug stage)
[vchess.git] / public / javascripts / variants / Grand.js
index 16963f8..6408847 100644 (file)
@@ -40,7 +40,7 @@ class GrandRules extends ChessRules
                const fenParts = fen.split(" ");
                return Object.assign(
                        ChessRules.ParseFen(fen),
-                       { captured: fenParts[4] }
+                       { captured: fenParts[5] }
                );
        }
 
@@ -387,5 +387,3 @@ class GrandRules extends ChessRules
                        " w 1111 - 00000000000000";
        }
 }
-
-const VariantRules = GrandRules;