mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 09:32:38 +00:00
will this work
This commit is contained in:
parent
64ad1a27ef
commit
a2769c4036
@ -101,7 +101,7 @@ public class QSBNetworkManager : NetworkManager, IAddComponentOnStart
|
||||
_eosTransport = gameObject.AddComponent<EosTransport>();
|
||||
_eosTransport.SetTransportError = error => _lastTransportError = error;
|
||||
}
|
||||
UpdateTransport();
|
||||
transport = QSBCore.UseKcpTransport ? _kcpTransport : _eosTransport;
|
||||
|
||||
gameObject.SetActive(true);
|
||||
|
||||
@ -170,10 +170,9 @@ public class QSBNetworkManager : NetworkManager, IAddComponentOnStart
|
||||
{
|
||||
return;
|
||||
}
|
||||
Transport.active = QSBCore.UseKcpTransport ? _kcpTransport : _eosTransport;
|
||||
if (singleton != null)
|
||||
{
|
||||
singleton.transport = Transport.active;
|
||||
singleton.transport = Transport.active = QSBCore.UseKcpTransport ? _kcpTransport : _eosTransport;
|
||||
}
|
||||
if (MenuManager.Instance != null)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user