mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	On a littersizecurve exception, show the message in the log
This commit is contained in:
		
							parent
							
								
									0e34e3d4cc
								
							
						
					
					
						commit
						d9ab6cdcde
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -1299,9 +1299,9 @@ namespace RJW_Menstruation
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                eggnum = 1 + eggstack;
 | 
					                eggnum = 1 + eggstack;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            catch(ArgumentException)
 | 
					            catch(ArgumentException e)
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                Log.Warning($"Invalid litterSizeCurve for {parent.pawn.RaceProps}");
 | 
					                Log.Warning($"Invalid litterSizeCurve for {parent.pawn.RaceProps}: {e}");
 | 
				
			||||||
                eggnum = 1 + eggstack;
 | 
					                eggnum = 1 + eggstack;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue