From a0c805ddd5bf1c873167163037ccf0016fa39d02 Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Mon, 10 May 2021 20:59:46 +0200 Subject: [PATCH] Attempt to fix Eightpieces --- client/src/variants/Eightpieces.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/variants/Eightpieces.js b/client/src/variants/Eightpieces.js index dc7580b3..92a4a909 100644 --- a/client/src/variants/Eightpieces.js +++ b/client/src/variants/Eightpieces.js @@ -204,8 +204,8 @@ export class EightpiecesRules extends ChessRules { // => move sentry on other bishop for random color const c = sample(['w', 'b'], 1); pieceLine[c] = pieceLine[c] - .replace('b', 't'); //tmp - .replace('s', 'b'); + .replace('b', 't') //tmp + .replace('s', 'b') .replace('t', 's'); } } -- 2.44.0