Commit 6535ef04 by BellCodeEditor

save project

parent 05fbeca2
Showing with 5 additions and 1 deletions
...@@ -17,7 +17,11 @@ while True: ...@@ -17,7 +17,11 @@ while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type==locals.QUIT: if event.type==locals.QUIT:
exit() exit()
if pygame.mixer.music.get_busy()== False:
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