public override void OnBehaviourInitialize()
 {
     base.OnBehaviourInitialize();
     this._missionNetworkComponent = this.Mission.GetMissionBehaviour <MissionNetworkComponent>();
     this._gameModeServer          = this.Mission.GetMissionBehaviour <MissionMultiplayerGameModeBase>();
     if (BannerlordNetwork.LobbyMissionType == LobbyMissionType.Matchmaker)
     {
         this.TeamSelectionEnabled = false;
     }
     else
     {
         this.TeamSelectionEnabled = true;
     }
 }
Exemple #2
0
 public override void OnBehaviourInitialize()
 {
     base.OnBehaviourInitialize();
     this._missionNetworkComponent = this.Mission.GetMissionBehaviour <MissionNetworkComponent>();
 }