mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Pause when showing stats
.. stats is modal so clock shouldn't be ticking
This commit is contained in:
parent
0ac4339252
commit
c5864cc0f6
1 changed files with 2 additions and 0 deletions
|
@ -555,6 +555,7 @@ class PysolMenubar(PysolMenubarTk):
|
||||||
text=text % {'filename': filename})
|
text=text % {'filename': filename})
|
||||||
|
|
||||||
def mPlayerStats(self, *args, **kw):
|
def mPlayerStats(self, *args, **kw):
|
||||||
|
self.game.doPause()
|
||||||
mode = kw.get("mode", 101)
|
mode = kw.get("mode", 101)
|
||||||
demo = 0
|
demo = 0
|
||||||
gameid = None
|
gameid = None
|
||||||
|
@ -658,6 +659,7 @@ class PysolMenubar(PysolMenubarTk):
|
||||||
if d.status != 0:
|
if d.status != 0:
|
||||||
break
|
break
|
||||||
mode = d.button
|
mode = d.button
|
||||||
|
self.game.doPause()
|
||||||
|
|
||||||
#
|
#
|
||||||
# Assist menu
|
# Assist menu
|
||||||
|
|
Loading…
Add table
Reference in a new issue