TryGetScenePresence in TriggerSound is probably meant to be using the ownerID, not the objectID
parent
516ee244b4
commit
6440892788
|
@ -145,7 +145,7 @@ namespace OpenSim.Region.CoreModules.World.Sound
|
|||
if (!m_scene.TryGetSceneObjectPart(objectID, out part))
|
||||
{
|
||||
ScenePresence sp;
|
||||
if (!m_scene.TryGetScenePresence(objectID, out sp))
|
||||
if (!m_scene.TryGetScenePresence(ownerID, out sp))
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue