From 208007c9d88dcbf8b8e7f6b666db13fec0319611 Mon Sep 17 00:00:00 2001 From: ericrius1 Date: Fri, 5 Feb 2016 15:43:15 -0800 Subject: [PATCH] log --- .../audioExamples/acAudioSearching/ACAudioSearchAndInject2.js | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/audioExamples/acAudioSearching/ACAudioSearchAndInject2.js b/examples/audioExamples/acAudioSearching/ACAudioSearchAndInject2.js index 6f69b969e0..044d87878c 100644 --- a/examples/audioExamples/acAudioSearching/ACAudioSearchAndInject2.js +++ b/examples/audioExamples/acAudioSearching/ACAudioSearchAndInject2.js @@ -57,6 +57,7 @@ function handleActiveSoundEntities() { var soundProperties = soundEntityMap[soundEntity]; soundProperties.timeWithoutAvatarInRange += UPDATE_TIME; if (soundProperties.timeWithoutAvatarInRange > EXPIRATION_TIME && soundProperties.soundInjector) { + print("NO AVATARS NEAR THIS ENTITY FOR A WHILE. DELETING!") // An avatar hasn't been within range of this sound entity recently, so remove it from map soundProperties.soundInjector.stop(); delete soundEntityMap[soundEntity];