Commit 9276ec4b by BellCodeEditor

save project

parent b7c45b27
Showing with 1 additions and 1 deletions
...@@ -65,7 +65,7 @@ while True: ...@@ -65,7 +65,7 @@ while True:
play_button = stop_img play_button = stop_img
if x >400 and x < 520 and y >350 and y < 450: if x >400 and x < 520 and y >350 and y < 450:
num+=1 num+=1
if num <-1: if num >=len(musicList):
num=0 num=0
pygame.mixer.music.load(musicList[num]) pygame.mixer.music.load(musicList[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