mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-03 17:38:30 +00:00
the
This commit is contained in:
parent
a422f39751
commit
96de0f9685
@ -78,7 +78,7 @@ public class QSBNetworkManager : NetworkManager, IAddComponentOnStart
|
|||||||
if (QSBCore.DebugSettings.UseKcpTransport)
|
if (QSBCore.DebugSettings.UseKcpTransport)
|
||||||
{
|
{
|
||||||
var kcpTransport = gameObject.AddComponent<kcp2k.KcpTransport>();
|
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;
|
transport = kcpTransport;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user