You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-16 07:06:30 +09:00
NetQueue TryDequeue signature change
This commit is contained in:
@@ -228,8 +228,8 @@ namespace Lidgren.Network
|
||||
if (m_throttleDebt >= throttleThreshold)
|
||||
break;
|
||||
|
||||
NetSending send = m_unsentMessages.TryDequeue();
|
||||
if (send == null)
|
||||
NetSending send;
|
||||
if (!m_unsentMessages.TryDequeue(out send))
|
||||
continue;
|
||||
|
||||
send.NumSends++;
|
||||
|
||||
Reference in New Issue
Block a user