mirror of https://github.com/lalbornoz/roar.git
assets/audio/roar{arab6,spoke9}.wav: added.
libroar/RoarWindowAbout.py: correctly pick random soundBitePathName.
This commit is contained in:
parent
93c05d6b09
commit
1a0e1bf2de
Binary file not shown.
Binary file not shown.
|
@ -39,7 +39,7 @@ class RoarWindowAbout(wx.Dialog):
|
|||
self.SetTitle(title)
|
||||
|
||||
soundBitePathNames = glob(os.path.join("assets", "audio", "roar*.wav"))
|
||||
soundBitePathName = soundBitePathNames[random.randint(0, len(logoPathNames) - 1)]
|
||||
soundBitePathName = soundBitePathNames[random.randint(0, len(soundBitePathNames) - 1)]
|
||||
self.soundBite = wx.adv.Sound(soundBitePathName)
|
||||
if self.soundBite.IsOk():
|
||||
self.soundBite.Play(wx.adv.SOUND_ASYNC)
|
||||
|
|
Loading…
Reference in New Issue