Remove unnecessary "?? null" from GetFather

This commit is contained in:
lutepickle 2023-08-10 18:48:56 -07:00
parent 990774606c
commit 2c2b5a1ee2
1 changed files with 1 additions and 1 deletions

View File

@ -416,7 +416,7 @@ namespace RJW_Menstruation
{
Pawn res = pawn.GetFather();
if (res != null) return res;
else res = pawn.relations?.GetFirstDirectRelationPawn(PawnRelationDefOf.Parent, x => x != mother) ?? null;
else res = pawn.relations?.GetFirstDirectRelationPawn(PawnRelationDefOf.Parent, x => x != mother);
return res;
}