mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Little optimization in GetFertilizingInfo
This commit is contained in:
		
							parent
							
								
									1b0c25bc46
								
							
						
					
					
						commit
						17c4863a28
					
				
					 1 changed files with 1 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -422,11 +422,7 @@ namespace RJW_Menstruation
 | 
			
		|||
                if (eggs.NullOrEmpty()) return "";
 | 
			
		||||
 | 
			
		||||
                string res = "";
 | 
			
		||||
                int fertilized = 0;
 | 
			
		||||
                foreach (Egg egg in eggs)
 | 
			
		||||
                {
 | 
			
		||||
                    if (egg.fertilized) fertilized++;
 | 
			
		||||
                }
 | 
			
		||||
                int fertilized = eggs.Count(egg => egg.fertilized);
 | 
			
		||||
                if (fertilized != 0) res += fertilized + " " + Translations.Dialog_WombInfo05;
 | 
			
		||||
                if (fertilized != 0 && eggs.Count - fertilized != 0) res += ", ";
 | 
			
		||||
                if (cums.NullOrEmpty() || TotalFertCum == 0)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue