This commit is contained in:
JohnCorby 2022-08-29 18:12:33 -07:00
parent a422f39751
commit 96de0f9685

View File

@ -78,7 +78,7 @@ public class QSBNetworkManager : NetworkManager, IAddComponentOnStart
if (QSBCore.DebugSettings.UseKcpTransport)
{
var kcpTransport = gameObject.AddComponent<kcp2k.KcpTransport>();
kcpTransport.Timeout = int.MaxValue; // effectively disables kcp ping = nh lagging wont kick you
kcpTransport.Timeout = int.MaxValue; // effectively disables kcp ping and timeout (good for testing)
transport = kcpTransport;
}
else