From: Benjamin Auder Date: Fri, 23 Jul 2021 06:51:27 +0000 (+0200) Subject: Fix Checkered init FEN X-Git-Url: https://git.auder.net/game/current/%7B%7B%20asset%28%27mixstore/css/base.css%27%29%20%7D%7D?a=commitdiff_plain;h=8a7741563d38babbebd17ee83c0362a7bc98e9f6;p=vchess.git Fix Checkered init FEN --- diff --git a/client/src/variants/Checkered.js b/client/src/variants/Checkered.js index aac3e024..963e013b 100644 --- a/client/src/variants/Checkered.js +++ b/client/src/variants/Checkered.js @@ -602,7 +602,7 @@ export class CheckeredRules extends ChessRules { } static GenRandInitFen(options) { - const baseFen = ChessRules.GenRandInitFen(options.randomness); + const baseFen = ChessRules.GenRandInitFen(options); return ( // Add 16 pawns flags + empty cmove + stage == 1: baseFen.slice(0, -2) + "1111111111111111 - - 1" +