Prevent child agents from being blacklisted in the kill record.

avinationmerge
Melanie 2010-09-11 20:22:10 +01:00
parent 342c64b7ac
commit 5e5260ad1b
1 changed files with 6 additions and 3 deletions

View File

@ -1529,10 +1529,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);
}
} }
} }