From 080b1eb5c05ad62140dee1ff8824843aef434272 Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Thu, 4 Mar 2021 22:20:16 +0100 Subject: [PATCH] Fix Synchrone2 pass move --- client/src/variants/Synchrone2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/variants/Synchrone2.js b/client/src/variants/Synchrone2.js index 396a0c68..dc038ecb 100644 --- a/client/src/variants/Synchrone2.js +++ b/client/src/variants/Synchrone2.js @@ -102,7 +102,7 @@ export class Synchrone2Rules extends Synchrone1Rules { ); }); const passTarget = - (x != this.kingPos[c][0] || y != this.kingPos[c][0]) ? c : oppCol; + (x != this.kingPos[c][0] || y != this.kingPos[c][1]) ? c : oppCol; movesNow.push( new Move({ start: { x: x, y: y }, -- 2.44.0