protected override Job TryGiveJob(Pawn pawn)
        {
            CompSquadBrain comp = pawn.TryGetComp <CompSquadBrain>();

            if (comp == null)
            {
                Log.Error("CE tried running JobGiver_SquadDuty on " + pawn.ToString() + " without CompSquadBrain");
                return(null);
            }
            Job job = comp.squad.GetJobFor(pawn);

            //if (job == null) job = new Job(JobDefOf.WaitCombat, pawn.Position);
            return(job);
        }
        protected override bool Satisfied(Pawn pawn)
        {
            CompSquadBrain comp = pawn.TryGetComp <CompSquadBrain>();

            return(comp != null && comp.squad != null);
        }