again chat echos, check repeats uncondicionally
parent
08d061d201
commit
a0c3297b37
|
@ -294,9 +294,12 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat
|
||||||
s.ForEachScenePresence(
|
s.ForEachScenePresence(
|
||||||
delegate(ScenePresence presence)
|
delegate(ScenePresence presence)
|
||||||
{
|
{
|
||||||
if (destination != UUID.Zero &&
|
if (receiverIDs.Contains(presence.UUID))
|
||||||
(presence.UUID != destination || receiverIDs.Contains(presence.UUID)))
|
return; // already sent to this presence
|
||||||
|
|
||||||
|
if (destination != UUID.Zero && presence.UUID != destination)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
ILandObject Presencecheck = s.LandChannel.GetLandObject(presence.AbsolutePosition.X, presence.AbsolutePosition.Y);
|
ILandObject Presencecheck = s.LandChannel.GetLandObject(presence.AbsolutePosition.X, presence.AbsolutePosition.Y);
|
||||||
if (Presencecheck != null)
|
if (Presencecheck != null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue