From: Benjamin Auder Date: Sun, 17 Jan 2021 17:20:00 +0000 (+0100) Subject: Typos X-Git-Url: https://git.auder.net/%7B%7B%20asset%28%27mixstore/css/store/assets/rpsls.css?a=commitdiff_plain;h=1328e7dd5a73fd4a4eee85d5b86aea73b9a74f9f;p=vchess.git Typos --- 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 ); diff --git a/client/src/variants/Pacosako.js b/client/src/variants/Pacosako.js index d219916d..b5f703f8 100644 --- a/client/src/variants/Pacosako.js +++ b/client/src/variants/Pacosako.js @@ -727,7 +727,7 @@ export class PacosakoRules 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 );