diff --git a/OpenSim/Region/Framework/Scenes/UuidGatherer.cs b/OpenSim/Region/Framework/Scenes/UuidGatherer.cs index 5a221d3b7e..6d98ff74ee 100644 --- a/OpenSim/Region/Framework/Scenes/UuidGatherer.cs +++ b/OpenSim/Region/Framework/Scenes/UuidGatherer.cs @@ -408,9 +408,13 @@ namespace OpenSim.Region.Framework.Scenes GatheredUuids[part.Shape.ProjectionTextureUUID] = (sbyte)AssetType.Texture; UUID collisionSound = part.CollisionSound; - if ( !collisionSound.IsZero() && collisionSound.NotEqual(part.invalidCollisionSoundUUID)) + if (collisionSound.IsNotZero() && collisionSound.NotEqual(part.invalidCollisionSoundUUID)) GatheredUuids[collisionSound] = (sbyte)AssetType.Sound; + UUID soundID = part.Sound; + if (soundID.IsNotZero()) + GatheredUuids[soundID] = (sbyte)AssetType.Sound; + if (part.ParticleSystem.Length > 0) { try