//TODO: Move mission generation somewhere else. Mission manager is only for updating mission statuses
        private Mission GenerateMission()
        {
            LogHelper.Log("Works");
            MissionTemplate template = MissionTemplateDatabase.Instance.GetTemplate(MissionTemplateDatabase.MISSION_ID_MANDRILL_TIMEOUT);

            LogHelper.Log("Works2");
            LogHelper.Log(m_missionFactory);
            LogHelper.LogFormat("Managers {0}", m_managers);
            if (m_managers.threading == null)
            {
                LogHelper.Log("LolNull");
            }
            float t = TimeHelper.ToSystemTime(m_managers.threading);

            LogHelper.LogFormat("Work123 {0}", t);
            Mission mission = m_missionFactory.InstantiateTemplate(template, 0, t);

            LogHelper.Log("Works3");
            return(mission);
        }