sound fix?

This commit is contained in:
hagi 2022-12-29 22:16:27 +01:00
parent ad862d61e2
commit b189600ecc

View file

@ -93,7 +93,7 @@ class BlunderEvaluator:
"""
path = sound_path / move_type
mixer.init()
mixer.music.load("sounds/" + random.choice(os.listdir(path)))
mixer.music.load(path / random.choice(os.listdir(path)))
mixer.music.play()
# while mixer.music.get_busy():
# time.sleep(0.)