点击冒险模式后暂停普通音乐播放

This commit is contained in:
wszqkzqk 2022-08-06 13:45:48 +08:00
parent 139b5d3ef8
commit d07810afce

View File

@ -124,6 +124,7 @@ class Menu(tool.State):
self.adventure_timer = self.adventure_start = self.current_time
self.persist[c.GAME_MODE] = c.MODE_ADVENTURE
# 播放进入音效
pg.mixer.music.stop()
c.SOUND_EVILLAUGH.play()
c.SOUND_LOSE.play()