Typos
authorBenjamin Auder <benjamin.auder@somewhere>
Sun, 17 Jan 2021 17:20:00 +0000 (18:20 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Sun, 17 Jan 2021 17:20:00 +0000 (18:20 +0100)
client/src/variants/Otage.js
client/src/variants/Pacosako.js

index 742c6ee..6c2b1ec 100644 (file)
@@ -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
           );
index d219916..b5f703f 100644 (file)
@@ -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
           );