diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index a539eff..681feea 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -2701,7 +2701,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2701 | { | 2701 | { |
2702 | foreach (KeyValuePair<UUID, TaskInventoryItem> item in TaskInventory) | 2702 | foreach (KeyValuePair<UUID, TaskInventoryItem> item in TaskInventory) |
2703 | { | 2703 | { |
2704 | if (item.Value.Name == sound && item.Value.Type == (int)AssetType.Sound) | 2704 | if (item.Value.Type == (int)AssetType.Sound && item.Value.Name == sound) |
2705 | { | 2705 | { |
2706 | soundID = item.Value.ItemID; | 2706 | soundID = item.Value.ItemID; |
2707 | break; | 2707 | break; |