Commit 695c99ee by BellCodeEditor

save project

parent 3540b971
Showing with 1 additions and 1 deletions
...@@ -63,7 +63,7 @@ while True: ...@@ -63,7 +63,7 @@ while True:
click=0 click=0
if x>420 and x<520 and y>350 and y<400: if x>420 and x<520 and y>350 and y<400:
num+=1 num+=1
if num=len(m_l)-1: if num>len(m_l)-1:
num=0 num=0
pygame.mixer.music.load(path+"\\"+m_l[num]) pygame.mixer.music.load(path+"\\"+m_l[num])
pygame.mixer.music.play() pygame.mixer.music.play()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment