reduce 'echos' on several regions per instance (mantis 7754)

LSLKeyTest
UbitUmarov 2015-11-24 12:51:58 +00:00
parent 19b96697a6
commit 7cf2d261b3
1 changed files with 2 additions and 1 deletions

View File

@ -294,7 +294,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat
s.ForEachScenePresence(
delegate(ScenePresence presence)
{
if (destination != UUID.Zero && presence.UUID != destination)
if (destination != UUID.Zero &&
(presence.UUID != destination || receiverIDs.Contains(presence.UUID)))
return;
ILandObject Presencecheck = s.LandChannel.GetLandObject(presence.AbsolutePosition.X, presence.AbsolutePosition.Y);
if (Presencecheck != null)