Pārlūkot izejas kodu

Prevent child agents from being blacklisted in the kill record.

Melanie 14 gadi atpakaļ
vecāks
revīzija
47a5e2633c

+ 6 - 3
OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs

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