Commit aa344585 by BellCodeEditor

save project

parent 93be4d35
Showing with 1 additions and 1 deletions
...@@ -89,7 +89,7 @@ while True: ...@@ -89,7 +89,7 @@ while True:
num = 0 num = 0
pygame.mixer.music.load(path + "\\" + music_list[num]) pygame.mixer.music.load(path + "\\" + music_list[num])
pygame.mixer.music.play() pygame.mixer.music.play()
music1=pygame.mixer.Sound() music1=pygame.mixer.Sound(path + "\\" + music_list[num]))
music_length=int(music_length) music_length=int(music_length)
play_time=pygame.mixer.music.get_pos() play_time=pygame.mixer.music.get_pos()
play_time=int(play_time/1000) play_time=int(play_time/1000)
......
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