X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FOtage.js;h=6c2b1ec0e43cc9ceb6694506428ef15e9991dacc;hb=1328e7dd5a73fd4a4eee85d5b86aea73b9a74f9f;hp=742c6ee19e02c0cf6217be9fa9ac48e17da2bb55;hpb=d2af3400944331ffd0c770f83857257c2f48e487;p=vchess.git diff --git a/client/src/variants/Otage.js b/client/src/variants/Otage.js index 742c6ee1..6c2b1ec0 100644 --- a/client/src/variants/Otage.js +++ b/client/src/variants/Otage.js @@ -657,7 +657,7 @@ export class OtageRules extends ChessRules { r.piece == newState.piece && ( r.square.x == newState.square.x && - r.square.y == newState.square.y && + r.square.y == newState.square.y ) && r.position == newState.position );