do it like u do to with eosTransport

This commit is contained in:
JohnCorby 2022-08-29 16:03:16 -07:00
parent 815cd50a6b
commit 35ec153533

View File

@ -77,8 +77,9 @@ public class QSBNetworkManager : NetworkManager, IAddComponentOnStart
if (QSBCore.DebugSettings.UseKcpTransport)
{
transport = gameObject.AddComponent<kcp2k.KcpTransport>();
(transport as kcp2k.KcpTransport).Timeout = int.MaxValue;
var kcpTransport = gameObject.AddComponent<kcp2k.KcpTransport>();
kcpTransport.Timeout = int.MaxValue;
transport = kcpTransport;
}
else
{