Commit 48e7200f by BellCodeEditor

save project

parent c8813400
Showing with 1 additions and 2 deletions
......@@ -24,7 +24,6 @@ filelist = os.listdir(path)
for i in filelist:
if i[-4:] == ".ogg":
music_list.append(i)
num = -1
volume = 0.2
......@@ -67,7 +66,7 @@ while True:
num += 1
if num > len(music_list)-1:
num = 0
print(num)
#print(num)
pygame.mixer.music.load(path+"\\"+music_list[num])
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