From 670cca4eb78baf9fe96bb5c6655c391f278a41b6 Mon Sep 17 00:00:00 2001 From: "James B. Pollack" Date: Wed, 18 Nov 2015 16:35:28 -0800 Subject: [PATCH] fix sounds --- examples/toybox/bow/bow.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/toybox/bow/bow.js b/examples/toybox/bow/bow.js index 49a616535a..ed48b4a22f 100644 --- a/examples/toybox/bow/bow.js +++ b/examples/toybox/bow/bow.js @@ -218,7 +218,6 @@ if (this.hasArrowNotched === false) { this.playArrowNotchSound(); - this.playStringPullSound(); this.hasArrowNotched = true this.arrow = this.createArrow(); print('NOTCH ARROW' + this.arrow); @@ -492,6 +491,8 @@ } else if (this.triggerValue >= DRAW_STRING_THRESHOLD && this.stringDrawn === false) { // print('HIT START LOOP IN CHECK') + this.playStringPullSound(); + //the first time aiming the arrow this.stringDrawn = true; this.createStrings();