set Transport.active too

This commit is contained in:
JohnCorby 2023-05-06 19:19:17 -07:00
parent d332f1fd47
commit 64ad1a27ef

View File

@ -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)
{ {