diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs index 6229237f00..d4377ad6e6 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs @@ -745,12 +745,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP // Assign sequence number here to prevent out of order packets if (packet.Header.Sequence == 0) { - packet.Header.Sequence = NextPacketSequenceNumber(); - item.Sequence = packet.Header.Sequence; - item.TickCount = Environment.TickCount; - lock (m_NeedAck) { + packet.Header.Sequence = NextPacketSequenceNumber(); + item.Sequence = packet.Header.Sequence; + item.TickCount = Environment.TickCount; + // We want to see that packet arrive if it's reliable if (packet.Header.Reliable) {