add transport

This commit is contained in:
JohnCorby 2022-01-15 02:31:32 -08:00
parent 8e1de5d113
commit c63f74fe29

View File

@ -1,4 +1,5 @@
using Mirror; using kcp2k;
using Mirror;
using OWML.Common; using OWML.Common;
using QSB.Anglerfish.TransformSync; using QSB.Anglerfish.TransformSync;
using QSB.AuthoritySync; using QSB.AuthoritySync;
@ -51,6 +52,7 @@ namespace QSB
public override void Awake() public override void Awake()
{ {
transport = gameObject.AddComponent<KcpTransport>();
base.Awake(); base.Awake();
PlayerName = GetPlayerName(); PlayerName = GetPlayerName();