From 4573adc5c7b384fdfef0c98346f5bebd6277cf4d Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Sun, 17 Jan 2021 02:39:02 +0100
Subject: [PATCH] Fix typo

---
 client/src/variants/Otage.js    | 2 +-
 client/src/variants/Pacosako.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/client/src/variants/Otage.js b/client/src/variants/Otage.js
index 3e35767a..6f408bb1 100644
--- a/client/src/variants/Otage.js
+++ b/client/src/variants/Otage.js
@@ -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);
   }
 
diff --git a/client/src/variants/Pacosako.js b/client/src/variants/Pacosako.js
index efc8fd38..d4908a5a 100644
--- a/client/src/variants/Pacosako.js
+++ b/client/src/variants/Pacosako.js
@@ -817,7 +817,7 @@ export class PacosakoRules extends ChessRules {
       this.movesCount--;
     }
     this.umoves.pop();
-    if (!!move.end.releasd) this.repetitions.pop();
+    if (!!move.end.released) this.repetitions.pop();
     this.postUndo(move);
   }
 
-- 
2.44.0