From 4ab9394ba4b27737fe6706af2fbb8d7c6c9fe268 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Sun, 24 Jan 2021 15:18:31 +0100
Subject: [PATCH] Fix Emergo: no simple moves in entering stage

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

diff --git a/client/src/variants/Emergo.js b/client/src/variants/Emergo.js
index 98d9d71a..81ad5d5f 100644
--- a/client/src/variants/Emergo.js
+++ b/client/src/variants/Emergo.js
@@ -399,6 +399,7 @@ export class EmergoRules extends ChessRules {
       return [];
     }
     const color = this.turn;
+    if (!!this.reserve[color] && !this.atLeastOneCapture()) return [];
     const L0 = this.captures.length;
     const captures = this.captures[L0 - 1];
     const L = captures.length;
-- 
2.44.0