diff --git a/1.3/Assemblies/RJW_Menstruation.dll b/1.3/Assemblies/RJW_Menstruation.dll index d93a47a..ceb76c5 100644 Binary files a/1.3/Assemblies/RJW_Menstruation.dll and b/1.3/Assemblies/RJW_Menstruation.dll differ diff --git a/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Breast.cs b/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Breast.cs index c99a39a..c78800c 100644 --- a/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Breast.cs +++ b/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Breast.cs @@ -67,14 +67,16 @@ namespace RJW_Menstruation { get { - float res; + float res = 0; List ages = parent.pawn.RaceProps.lifeStageAges; - if (ages.NullOrEmpty() || ages.Count == 1) - res = 1.2f / 2; // Default to human - else res = ages[1].minAge / 2; + if (ages?.Count > 1) + res = ages[1].minAge / 2; + + if (res <= 0) res = 1.2f / 2; // Default to human if (RJWPregnancySettings.phantasy_pregnancy) res /= GenDate.DaysPerYear; + return res; } }