sound fix?
This commit is contained in:
parent
ad862d61e2
commit
b189600ecc
|
@ -93,7 +93,7 @@ class BlunderEvaluator:
|
||||||
"""
|
"""
|
||||||
path = sound_path / move_type
|
path = sound_path / move_type
|
||||||
mixer.init()
|
mixer.init()
|
||||||
mixer.music.load("sounds/" + random.choice(os.listdir(path)))
|
mixer.music.load(path / random.choice(os.listdir(path)))
|
||||||
mixer.music.play()
|
mixer.music.play()
|
||||||
# while mixer.music.get_busy():
|
# while mixer.music.get_busy():
|
||||||
# time.sleep(0.)
|
# time.sleep(0.)
|
||||||
|
|
Loading…
Reference in a new issue