From 4665b45a4c7daf1feb8b70748f61ffd0e36bc9f8 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 2 Jul 2022 16:25:08 +0100 Subject: [PATCH] ofc, forgot a file --- OpenSim/Region/Framework/Scenes/UuidGatherer.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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