From 42e6288e16fd241986492e00f89f8439390cba84 Mon Sep 17 00:00:00 2001 From: Joe R Date: Wed, 3 Aug 2022 19:09:34 -0400 Subject: [PATCH] Blocked stuck notifications from appearing right before winning the game. --- pysollib/game/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pysollib/game/__init__.py b/pysollib/game/__init__.py index 5f1ae9a2..a83b3e54 100644 --- a/pysollib/game/__init__.py +++ b/pysollib/game/__init__.py @@ -2851,9 +2851,7 @@ class Game(object): def updateStuck(self): # stuck - if self.finished: - return - if self.Stuck_Class is None: + if self.finished or self.Stuck_Class is None or self.isGameWon() != 0: return if self.getStuck(): text = ''