Commit cf83833c by BellCodeEditor

save project

parent b2ddc0e1
Showing with 1 additions and 1 deletions
...@@ -75,7 +75,7 @@ while True: ...@@ -75,7 +75,7 @@ while True:
click = 0 click = 0
if pygame.mixer.music.get_busy() == False: if pygame.mixer.music.get_busy() == False:
num += 1 num += 1
if num > len(filelist)-1: if num > len(file)-1:
num = 0 num = 0
print(num) print(num)
pygame.mixer.music.load(path+"\\"+music_list[num]) # 载入音乐 pygame.mixer.music.load(path+"\\"+music_list[num]) # 载入音乐
......
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