Commit 1aa7419b by BellCodeEditor

save project

parent 3678b4a7
Showing with 1 additions and 1 deletions
...@@ -67,7 +67,7 @@ while True: ...@@ -67,7 +67,7 @@ while True:
play_button = stop_img play_button = stop_img
if x>420 and x<520 and y>350 and y<400: if x>420 and x<520 and y>350 and y<400:
n+=1 n+=1
if n>len(m_l): if n>len(m_l)-1:
n=0 n=0
pygame.mixer.music.load(path+'\\'+m_l[n]) pygame.mixer.music.load(path+'\\'+m_l[n])
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