コード例 #1
0
 private bool IsFightingSapper(Pawn p)
 {
     if (p.Downed || p.InMentalState)
     {
         return(false);
     }
     return(SappersUtility.IsGoodSapper(p) || SappersUtility.IsGoodBackupSapper(p));
 }
コード例 #2
0
 private bool IsFightingSapper(Pawn p)
 {
     return(!p.Downed && !p.InMentalState && (SappersUtility.IsGoodSapper(p) || SappersUtility.IsGoodBackupSapper(p)));
 }