mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
mantis 7391: deliver llregionSayTo to all scripts on prim that match target specs
This commit is contained in:
@@ -442,15 +442,12 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm
|
||||
// Dont process if this message is from yourself!
|
||||
if (liHostID.Equals(id))
|
||||
continue;
|
||||
|
||||
if (!liHostID.Equals(target))
|
||||
continue;
|
||||
if (m_scene.GetSceneObjectPart(liHostID) == null)
|
||||
continue;
|
||||
|
||||
if (liHostID.Equals(target))
|
||||
{
|
||||
QueueMessage(new ListenerInfo(li, name, id, msg));
|
||||
break;
|
||||
}
|
||||
QueueMessage(new ListenerInfo(li, name, id, msg));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user