mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 16:43:33 +02:00
commit
515988fae5
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,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