This commit is contained in:
Philip Rosedale 2014-03-20 08:54:21 -07:00
commit c778794a4c

View file

@ -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]);
}
}