mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 18:44:00 +02:00
Merge branch 'master' of https://github.com/worklist/hifi
This commit is contained in:
commit
c778794a4c
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ var AVERAGE_AUDIO_LENGTH = 8000;
|
|||
function playRandomSound() {
|
||||
if (!Agent.isPlayingAvatarSound) {
|
||||
var whichSound = Math.floor((Math.random() * sounds.length) % sounds.length);
|
||||
Audio.playSound(sounds[whichSound]);
|
||||
Agent.playAvatarSound(sounds[whichSound]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue