//Initializes all missions that were added during the loading process
        internal void loadAllMissionLists()
        {
            if (missionList.Count <= 0)
            {
                addFullMissionList();
            }
            else
            {
                for (int i = 0; i < missionList.Count; i++)
                {
                    contractMission m = missionList.At(i);

                    if (m == null)
                    {
                        continue;
                    }

                    if (m.MasterMission)
                    {
                        m.buildMissionList();

                        List <contractContainer> active = contractParser.getActiveContracts;

                        int l = active.Count;

                        for (int j = 0; j < l; j++)
                        {
                            contractContainer c = active[j];

                            if (c == null)
                            {
                                continue;
                            }

                            m.addContract(c, true, false);
                        }

                        masterMission = m;
                    }
                    else
                    {
                        m.buildMissionList();
                    }
                }
            }
        }
        //Adds all contracts to the master mission
        private void addAllContractsToMaster()
        {
            contractMission Master = null;

            for (int i = missionList.Count - 1; i >= 0; i--)
            {
                contractMission m = missionList.At(i);

                if (m == null)
                {
                    continue;
                }

                if (!m.MasterMission)
                {
                    continue;
                }

                Master = m;
                break;
            }

            if (Master != null)
            {
                List <contractContainer> active = contractParser.getActiveContracts;

                int l = active.Count;

                for (int j = 0; j < l; j++)
                {
                    contractContainer c = active[j];

                    if (c == null)
                    {
                        continue;
                    }

                    Master.addContract(c, true, true);
                }
            }
        }