X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FBaroque.js;h=6557b380a21fd9e431d8c57c7c55357eb33fccd1;hp=5687e22c7416e760149eb18cefd4a2661d4de216;hb=e9b736ee3e72e2ddb9bf4da0c0f1e22a70f7448f;hpb=78d64531113d4b5045ff588dd43f301a332ebae8 diff --git a/client/src/variants/Baroque.js b/client/src/variants/Baroque.js index 5687e22c..6557b380 100644 --- a/client/src/variants/Baroque.js +++ b/client/src/variants/Baroque.js @@ -591,7 +591,8 @@ export const VariantRules = class BaroqueRules extends ChessRules { } else if (move.appear[0].p == V.KING) notation = "K" + (move.vanish.length > 1 ? "x" : "") + finalSquare; else notation = move.appear[0].p.toUpperCase() + finalSquare; - if (move.vanish.length > 1 && move.appear[0].p != V.KING) notation += "X"; //capture mark (not describing what is captured...) + // Add a capture mark (not describing what is captured...): + if (move.vanish.length > 1 && move.appear[0].p != V.KING) notation += "X"; return notation; } };