From 88b46acdeb5df08b84e5ff33a45c77b386a63957 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Wed, 26 Feb 2014 16:17:51 -0800 Subject: [PATCH] repair for wrong body on bots < 20 --- examples/bot.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/bot.js b/examples/bot.js index 553c18bf92..a67167ab5a 100644 --- a/examples/bot.js +++ b/examples/bot.js @@ -72,12 +72,10 @@ Avatar.position = firstPosition; // pick an integer between 1 and 20 for the face model for this bot botNumber = getRandomInt(1, 100); -newBodyFilePrefix = "defaultAvatar"; - if (botNumber <= 20) { newFaceFilePrefix = "bot" + botNumber; + newBodyFilePrefix = "defaultAvatar_body" } else { - if (botNumber <= 40) { newFaceFilePrefix = "superhero"; } else if (botNumber <= 60) {