diff --git a/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs b/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs index a8cb5cc300..45f3ccfb65 100644 --- a/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs +++ b/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs @@ -145,15 +145,15 @@ namespace OpenSim.Region.CoreModules.World.Sound if (!m_scene.TryGetScenePresence(grp.AttachedAvatar, out ssp)) return; - if (!ssp.ParcelAllowThisAvatarSounds) - return; - if (grp.HasPrivateAttachmentPoint) { ssp.ControllingClient.SendPlayAttachedSound(soundID, objectID, ownerID, (float)gain, flags); return; } + + if (!ssp.ParcelAllowThisAvatarSounds) + return; } m_scene.ForEachRootScenePresence(delegate(ScenePresence sp)