Trying Melanie's fix

prioritization
John Hurliman 2009-10-06 14:50:46 -07:00
parent c855806548
commit 74fe284a20
1 changed files with 4 additions and 3 deletions

View File

@ -111,11 +111,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
{
lock (SyncRoot)
{
if (packets.Count == 0)
return null;
OutgoingPacket p;
using (SortedDictionary<uint, OutgoingPacket>.ValueCollection.Enumerator e = packets.Values.GetEnumerator())
return e.Current;
p = e.Current;
return p;
}
}