pause_after.py undefined do_pause error
This commit is contained in:
parent
56ffa217e5
commit
654cd9c418
|
@ -6,11 +6,13 @@ menu = ocarina.menu
|
||||||
do_pause = False
|
do_pause = False
|
||||||
|
|
||||||
def check_pause(*args):
|
def check_pause(*args):
|
||||||
|
global do_pause
|
||||||
if do_pause == True:
|
if do_pause == True:
|
||||||
libsaria.audio.pause()
|
libsaria.audio.pause()
|
||||||
do_pause = False
|
do_pause = False
|
||||||
|
|
||||||
def set_pause(*args):
|
def set_pause(*args):
|
||||||
|
global do_pause
|
||||||
do_pause = True
|
do_pause = True
|
||||||
|
|
||||||
def start():
|
def start():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user