mantis 7391: deliver llregionSayTo to all scripts on prim that match target specs
parent
235dd37b9c
commit
96acb48334
|
@ -442,15 +442,12 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
|
||||||
// Dont process if this message is from yourself!
|
// Dont process if this message is from yourself!
|
||||||
if (liHostID.Equals(id))
|
if (liHostID.Equals(id))
|
||||||
continue;
|
continue;
|
||||||
|
if (!liHostID.Equals(target))
|
||||||
|
continue;
|
||||||
if (m_scene.GetSceneObjectPart(liHostID) == null)
|
if (m_scene.GetSceneObjectPart(liHostID) == null)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (liHostID.Equals(target))
|
QueueMessage(new ListenerInfo(li, name, id, msg));
|
||||||
{
|
|
||||||
QueueMessage(new ListenerInfo(li, name, id, msg));
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue