X-Git-Url: https://git.auder.net/?p=xogo.git;a=blobdiff_plain;f=variants%2FSuction%2Fclass.js;h=f9cf26dc33ad67f822936101490d2c8cfe2442a4;hp=db10e58cc4b4acea18d3aa3bdb67b4ae12e5a19f;hb=f54357573d4fdf87a05b19f78506c11f16bb3a26;hpb=fe234391b05ffef5e3236e82ca1391adcb784b45 diff --git a/variants/Suction/class.js b/variants/Suction/class.js index db10e58..f9cf26d 100644 --- a/variants/Suction/class.js +++ b/variants/Suction/class.js @@ -53,7 +53,7 @@ export default class SuctionRules extends ChessRules { const cmoveFen = !this.cmove ? "-" : C.CoordsToSquare(this.cmove.start) + C.CoordsToSquare(this.cmove.end); - return super.getFen().slice(0, -1) + ',"' + cmoveFen + '"}'; + return super.getFen().slice(0, -1) + ',"cmove":"' + cmoveFen + '"}'; } getBasicMove([sx, sy], [ex, ey]) {