mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-06 01:00:16 +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)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user