Almost added TitanChess + EvolutionChess
[vchess.git] / client / src / variants / Progressive2.js
index ffc22bc..d0c15e6 100644 (file)
@@ -4,6 +4,7 @@ import { ChessRules } from "@/base_rules";
 import { randInt } from "@/utils/alea";
 
 export class Progressive2Rules extends Progressive1Rules {
+
   static get PawnSpecs() {
     return Object.assign(
       {},
@@ -26,7 +27,6 @@ export class Progressive2Rules extends Progressive1Rules {
   }
 
   undo(move) {
-    this.disaggregateFlags(JSON.parse(move.flags));
     V.UndoOnBoard(this.board, move);
     if (this.turn != move.turn[0]) this.movesCount--;
     this.turn = move.turn[0];
@@ -48,4 +48,5 @@ export class Progressive2Rules extends Progressive1Rules {
       k: 1000
     };
   }
+
 };