X-Git-Url: https://git.auder.net/assets/current/gitweb.js?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FSuction.js;h=2038e4f800155441c80a6b1834d75d1e6062245b;hb=4ec83d3789a69429297710413bf640be51d10e41;hp=ac3aeb02a537dd57c3251b28861d2ded7c4498a7;hpb=bb688df52df0713aba7b2c1c068614544f5ae96d;p=vchess.git diff --git a/client/src/variants/Suction.js b/client/src/variants/Suction.js index ac3aeb02..2038e4f8 100644 --- a/client/src/variants/Suction.js +++ b/client/src/variants/Suction.js @@ -20,9 +20,10 @@ export class SuctionRules extends ChessRules { } static ParseFen(fen) { - return Object.assign({}, ChessRules.ParseFen(fen), { - cmove: fen.split(" ")[4] - }); + return Object.assign( + ChessRules.ParseFen(fen), + { cmove: fen.split(" ")[4] } + ); } static IsGoodFen(fen) {