X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FOtage.js;h=6f408bb134c507d6a4dd19a1bdfb96a250ebce1c;hb=4573adc5c7b384fdfef0c98346f5bebd6277cf4d;hp=3e35767af8c618e4c603e827259400b1212ede22;hpb=f3f8470750e91ac7b5bf57a4e01c5791c54b65fb;p=vchess.git 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); }