Commit 05d4e7e6 by BellCodeEditor

save project

parent 6d6e3faa
Showing with 2 additions and 2 deletions
......@@ -66,8 +66,8 @@ while True:
play_button = stop_img
if x > 420 and x < 520 and y > 350 and y < 400:
num += 1
if num > 0:
num = len(musiclist) - 1
if num > len(musiclist) - 1:
num = 0
pygame.mixer.music.load(path + "\\" + musiclist[num])
pygame.mixer.music.play()
click = 0
......
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