FertilizationCheck doesn't need to return anything

This commit is contained in:
lutepickle 2022-07-07 07:55:33 -07:00
parent 60a842fd2b
commit 805b7afa81

View file

@ -904,23 +904,19 @@ namespace RJW_Menstruation
/// Fertilize eggs and return the result
/// </summary>
/// <returns></returns>
protected bool FertilizationCheck()
protected void FertilizationCheck()
{
if (!eggs.NullOrEmpty())
{
bool onefertilized = false;
foreach (Egg egg in eggs)
{
if (!egg.fertilized) egg.fertilizer = Fertilize();
if (egg.fertilizer != null)
{
egg.fertilized = true;
onefertilized = true;
}
}
return onefertilized;
}
else return false;
}
public void Initialize()