mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Remove unnecessary "?? null" from GetFather
This commit is contained in:
		
							parent
							
								
									990774606c
								
							
						
					
					
						commit
						2c2b5a1ee2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -416,7 +416,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            Pawn res = pawn.GetFather();
 | 
					            Pawn res = pawn.GetFather();
 | 
				
			||||||
            if (res != null) return res;
 | 
					            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;
 | 
					            return res;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue