From cbbe4af65fc269590b131386c316cabb2f114425 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Wed, 19 Mar 2014 17:17:52 -0700 Subject: [PATCH] fix crash in bot.js with incorrect playSound --- examples/bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/bot.js b/examples/bot.js index ae337f5031..ebc8c4d5aa 100644 --- a/examples/bot.js +++ b/examples/bot.js @@ -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]); } }