Prevent child agents from being blacklisted in the kill record.

viewer-2-initial-appearance
Melanie 2010-09-11 20:22:10 +01:00
parent d5c7a8d28c
commit 47a5e2633c
1 changed files with 6 additions and 3 deletions

View File

@ -1519,10 +1519,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
kill.Header.Reliable = true; kill.Header.Reliable = true;
kill.Header.Zerocoded = true; kill.Header.Zerocoded = true;
lock (m_entityUpdates.SyncRoot) if (m_scene.GetScenePresence(localID) == null)
{ {
m_killRecord.Add(localID); lock (m_entityUpdates.SyncRoot)
OutPacket(kill, ThrottleOutPacketType.State); {
m_killRecord.Add(localID);
OutPacket(kill, ThrottleOutPacketType.State);
}
} }
} }