Fix typo
[vchess.git] / client / src / variants / Otage.js
index 3e35767..6f408bb 100644 (file)
@@ -739,7 +739,7 @@ export class OtageRules extends ChessRules {
       this.turn = V.GetOppCol(this.turn);
       this.movesCount--;
     }
-    if (!!move.end.releasd) this.repetitions.pop();
+    if (!!move.end.released) this.repetitions.pop();
     this.postUndo(move);
   }