From: Benjamin Auder Date: Sun, 17 Jan 2021 01:39:02 +0000 (+0100) Subject: Fix typo X-Git-Url: https://git.auder.net/img/css/doc/screen_ranking.png?a=commitdiff_plain;h=4573adc5c7b384fdfef0c98346f5bebd6277cf4d;p=vchess.git Fix typo --- 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); }