Have IsFertilized pick up the egg farthest along

This commit is contained in:
lutepickle 2022-08-27 06:35:29 -07:00
parent 3fb3d21420
commit 1126d8f3e5
1 changed files with 2 additions and 5 deletions

View File

@ -393,11 +393,8 @@ namespace RJW_Menstruation
{
get
{
if (!eggs.NullOrEmpty()) foreach (Egg egg in eggs)
{
if (egg.fertilized) return egg.fertstage;
}
return -1;
if (eggs.NullOrEmpty()) return -1;
return eggs.Max(egg => egg.fertstage);
}
}
public IEnumerable<Pawn> GetCummersAndFertilizers()