mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-08 09:41:07 +00:00
do it like u do to with eosTransport
This commit is contained in:
parent
815cd50a6b
commit
35ec153533
@ -77,8 +77,9 @@ public class QSBNetworkManager : NetworkManager, IAddComponentOnStart
|
|||||||
|
|
||||||
if (QSBCore.DebugSettings.UseKcpTransport)
|
if (QSBCore.DebugSettings.UseKcpTransport)
|
||||||
{
|
{
|
||||||
transport = gameObject.AddComponent<kcp2k.KcpTransport>();
|
var kcpTransport = gameObject.AddComponent<kcp2k.KcpTransport>();
|
||||||
(transport as kcp2k.KcpTransport).Timeout = int.MaxValue;
|
kcpTransport.Timeout = int.MaxValue;
|
||||||
|
transport = kcpTransport;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user