mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Blocked stuck notifications from appearing right before winning the game.
This commit is contained in:
parent
02e62afb16
commit
42e6288e16
1 changed files with 1 additions and 3 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Add table
Reference in a new issue