From 9fd7b60cc70e4ce0d1b86e53086be3fb009d9905 Mon Sep 17 00:00:00 2001 From: "lb@lb520" Date: Tue, 22 May 2018 18:36:54 +0200 Subject: [PATCH] Fixed a problem with auto drop and initial dealing. --- pysollib/stack.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pysollib/stack.py b/pysollib/stack.py index e364d597..3db6f8cf 100644 --- a/pysollib/stack.py +++ b/pysollib/stack.py @@ -1658,6 +1658,8 @@ class DealRow_StackMethods: self.game.flipMove(self) self.game.moveMove(1, self, r, frames=frames) self.game.leaveState(old_state) + if TOOLKIT is 'kivy': + self.game.top.waitAnimation() return len(stacks) # all Aces go to the Foundations @@ -1688,6 +1690,8 @@ class DealRow_StackMethods: self.game.moveMove(1, self, r, frames=frames) break self.game.leaveState(old_state) + if TOOLKIT is 'kivy': + self.game.top.waitAnimation() return n @@ -2900,9 +2904,9 @@ class WasteTalonStack(TalonStack): self.game.moveMove(1, self, waste, frames=4, shadow=0) else: self.game.moveMove(1, self, waste, frames=4, shadow=0) + self.fillStack() if TOOLKIT is 'kivy': self.game.top.waitAnimation() - self.fillStack() elif waste.cards and self.round != self.max_rounds: if sound: self.game.playSample("turnwaste", priority=20)