pause_after.py undefined do_pause error

This commit is contained in:
Bryan Schumaker 2010-11-14 19:32:05 -05:00
parent 56ffa217e5
commit 654cd9c418
1 changed files with 2 additions and 0 deletions

View File

@ -6,11 +6,13 @@ menu = ocarina.menu
do_pause = False
def check_pause(*args):
global do_pause
if do_pause == True:
libsaria.audio.pause()
do_pause = False
def set_pause(*args):
global do_pause
do_pause = True
def start():