X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=public%2Fjavascripts%2Fvariants%2FGrand.js;h=64088471d66d7930dba22bee6f9d904dcd305db9;hb=ab4f4bf258ed68d8292b64d81babde03cddbae3c;hp=16963f82fc4bd3f60e3362e943510fcc9abc9a48;hpb=69f3d8014e594ef949792d04d97b8286e9c2c268;p=vchess.git diff --git a/public/javascripts/variants/Grand.js b/public/javascripts/variants/Grand.js index 16963f82..64088471 100644 --- a/public/javascripts/variants/Grand.js +++ b/public/javascripts/variants/Grand.js @@ -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;