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];