X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FProgressive1.js;h=3023b729cf294796de2a1ab9c16433f32bb13317;hp=4f69ee90242bf5c5924ab07d61143f98e9024381;hb=c3ff3a0c807d97c0311a06491318fe02440266db;hpb=40bd6d5477933cb1bcee82eb4462911856af164e diff --git a/client/src/variants/Progressive1.js b/client/src/variants/Progressive1.js index 4f69ee90..3023b729 100644 --- a/client/src/variants/Progressive1.js +++ b/client/src/variants/Progressive1.js @@ -28,7 +28,7 @@ export class Progressive1Rules extends ChessRules { } play(move) { - move.flags = JSON.stringify(this.aggregateFlags()); + if (V.HasFlags) move.flags = JSON.stringify(this.aggregateFlags()); const color = this.turn; const oppCol = V.GetOppCol(color); move.turn = [color, this.subTurn];