public ShipControllerNetworkManager(Object networkManager, ShipControllerEntity parent) { m_networkManager = networkManager; m_parent = parent; MySandboxGame.Static.Invoke(RegisterPacketHandlers); }
public ShipControllerNetworkManager(Object networkManager, ShipControllerEntity parent) { m_networkManager = networkManager; m_parent = parent; Action action = RegisterPacketHandlers; SandboxGameAssemblyWrapper.Instance.EnqueueMainGameAction(action); }