Commit 35dfb833 by BellCodeEditor

save project

parent 9f01d478
Showing with 1 additions and 1 deletions
......@@ -21,7 +21,6 @@ click = 0
play_button = stop_img
num = -1
while True:
num+=1
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
......@@ -51,6 +50,7 @@ while True:
play_button = play_img
pygame.mixer.music.pause()
if pygame.mixer.music.get_busy() == False:
num+=1
if num > len(music_list)-1:
num=0
pygame.mixer.music.load(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