Fix Progressive2. Fixing attempt on Doublemove1
[vchess.git] / client / src / variants / Progressive1.js
index 4f69ee9..3023b72 100644 (file)
@@ -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];