From a35f0ad2f59f8829d130464732941ba57aaeebfd Mon Sep 17 00:00:00 2001 From: Joe R Date: Sat, 6 Jan 2024 23:07:54 -0500 Subject: [PATCH] Fixed error in Rosamund's Bower auto-deal logic. --- pysollib/games/royalcotillion.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pysollib/games/royalcotillion.py b/pysollib/games/royalcotillion.py index 36897acb..3aee0578 100644 --- a/pysollib/games/royalcotillion.py +++ b/pysollib/games/royalcotillion.py @@ -1486,6 +1486,11 @@ class RosamundsBower(Game): return self._shuffleHookMoveToTop( cards, lambda c: (c.id in (23, 37, 25), c.id), 3) + def _autoDeal(self, sound=True): + # only autodeal if there are cards in the talon. + if len(self.s.talon.cards) > 0: + return Game._autoDeal(self, sound=sound) + # register the game registerGame(GameInfo(54, RoyalCotillion, "Royal Cotillion",