mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 16:41:02 +02:00
commit
515988fae5
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ var AVERAGE_AUDIO_LENGTH = 8000;
|
||||||
function playRandomSound() {
|
function playRandomSound() {
|
||||||
if (!Agent.isPlayingAvatarSound) {
|
if (!Agent.isPlayingAvatarSound) {
|
||||||
var whichSound = Math.floor((Math.random() * sounds.length) % sounds.length);
|
var whichSound = Math.floor((Math.random() * sounds.length) % sounds.length);
|
||||||
Audio.playSound(sounds[whichSound]);
|
Agent.playAvatarSound(sounds[whichSound]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue