Missed a nullref in the previous commit

avinationmerge
Tom Grimshaw 2010-05-18 02:33:41 -07:00
parent 91b1d17e5b
commit ed1cfb5245
1 changed files with 2 additions and 0 deletions

View File

@ -11204,6 +11204,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
public void ProcessPendingPackets() public void ProcessPendingPackets()
{ {
m_IsPresenceReady = true; m_IsPresenceReady = true;
if (m_pendingPackets == null)
return;
foreach (Packet p in m_pendingPackets) foreach (Packet p in m_pendingPackets)
{ {
ProcessInPacket(p); ProcessInPacket(p);