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):
|
def updateStuck(self):
|
||||||
# stuck
|
# stuck
|
||||||
if self.finished:
|
if self.finished or self.Stuck_Class is None or self.isGameWon() != 0:
|
||||||
return
|
|
||||||
if self.Stuck_Class is None:
|
|
||||||
return
|
return
|
||||||
if self.getStuck():
|
if self.getStuck():
|
||||||
text = ''
|
text = ''
|
||||||
|
|
Loading…
Add table
Reference in a new issue