mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-22 12:39:51 +00:00
set Transport.active too
This commit is contained in:
parent
d332f1fd47
commit
64ad1a27ef
@ -170,9 +170,10 @@ public class QSBNetworkManager : NetworkManager, IAddComponentOnStart
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Transport.active = QSBCore.UseKcpTransport ? _kcpTransport : _eosTransport;
|
||||||
if (singleton != null)
|
if (singleton != null)
|
||||||
{
|
{
|
||||||
singleton.transport = QSBCore.UseKcpTransport ? _kcpTransport : _eosTransport;
|
singleton.transport = Transport.active;
|
||||||
}
|
}
|
||||||
if (MenuManager.Instance != null)
|
if (MenuManager.Instance != null)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user