From 62f4004938806b38814dde04ac5d352b20f68006 Mon Sep 17 00:00:00 2001 From: lidgren Date: Thu, 19 Aug 2010 09:43:23 +0000 Subject: [PATCH] Fixed VerifyAndLock --- Lidgren.Network/NetPeerConfiguration.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lidgren.Network/NetPeerConfiguration.cs b/Lidgren.Network/NetPeerConfiguration.cs index bd0358c..1f2627c 100644 --- a/Lidgren.Network/NetPeerConfiguration.cs +++ b/Lidgren.Network/NetPeerConfiguration.cs @@ -112,7 +112,7 @@ namespace Lidgren.Network internal void VerifyAndLock() { - if (m_throttleBytesPerSecond < m_maximumTransmissionUnit) + if (m_throttleBytesPerSecond != 0 && m_throttleBytesPerSecond < m_maximumTransmissionUnit) m_throttleBytesPerSecond = m_maximumTransmissionUnit; m_isLocked = true;