From f844c0eae2ebdcce4cfdb70d8e385260a23c3ab1 Mon Sep 17 00:00:00 2001 From: Joe R Date: Tue, 26 Nov 2024 22:59:18 -0500 Subject: [PATCH] Fix slow dealing issue --- pysollib/stack.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pysollib/stack.py b/pysollib/stack.py index 193a721d..71abfb87 100644 --- a/pysollib/stack.py +++ b/pysollib/stack.py @@ -1689,8 +1689,9 @@ class DealRow_StackMethods: if flip: self.game.flipMove(self) self.game.moveMove(1, self, r, frames=frames) - self.game.top.update_idletasks() - self.game.top.busyUpdate() + if frames > 0: + self.game.top.update_idletasks() + self.game.top.busyUpdate() self.game.leaveState(old_state) if TOOLKIT == 'kivy': self.game.top.waitAnimation()