From 8a7741563d38babbebd17ee83c0362a7bc98e9f6 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Fri, 23 Jul 2021 08:51:27 +0200
Subject: [PATCH] Fix Checkered init FEN

---
 client/src/variants/Checkered.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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" +
-- 
2.44.0