diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index cdf8cb1..a6315a9 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -1519,10 +1519,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1519 | kill.Header.Reliable = true; | 1519 | kill.Header.Reliable = true; |
1520 | kill.Header.Zerocoded = true; | 1520 | kill.Header.Zerocoded = true; |
1521 | 1521 | ||
1522 | lock (m_entityUpdates.SyncRoot) | 1522 | if (m_scene.GetScenePresence(localID) == null) |
1523 | { | 1523 | { |
1524 | m_killRecord.Add(localID); | 1524 | lock (m_entityUpdates.SyncRoot) |
1525 | OutPacket(kill, ThrottleOutPacketType.State); | 1525 | { |
1526 | m_killRecord.Add(localID); | ||
1527 | OutPacket(kill, ThrottleOutPacketType.State); | ||
1528 | } | ||
1526 | } | 1529 | } |
1527 | } | 1530 | } |
1528 | 1531 | ||