From: Benjamin Auder Date: Mon, 30 Mar 2020 23:50:01 +0000 (+0200) Subject: Fix pieces placement for Colorbound clobberers X-Git-Url: https://git.auder.net/%7B%7B%20path%28%27fos_user_profile_edit%27%29%20%7D%7D?a=commitdiff_plain;h=46e8cda8c801fe0e0d5a1ef540da945e05cdf89c;p=vchess.git Fix pieces placement for Colorbound clobberers --- diff --git a/client/src/variants/Colorbound.js b/client/src/variants/Colorbound.js index 034f9575..b96f73a3 100644 --- a/client/src/variants/Colorbound.js +++ b/client/src/variants/Colorbound.js @@ -80,7 +80,7 @@ export class ColorboundRules extends ChessRules { // Add turn + flags + enpassant return ( pieces["b"].join("") + - "/8/pppppppp/8/8/8/PPPPPPPP/" + + "/pppppppp/8/8/8/8/PPPPPPPP/" + pieces["w"].join("").toUpperCase() + " w 0 " + flags + " -" );