diff --git a/1.3/Assemblies/RJW_Menstruation.dll b/1.3/Assemblies/RJW_Menstruation.dll index d5e15b4..d93a47a 100644 Binary files a/1.3/Assemblies/RJW_Menstruation.dll and b/1.3/Assemblies/RJW_Menstruation.dll differ diff --git a/1.3/MilkModule/Assemblies/MilkModule.dll b/1.3/MilkModule/Assemblies/MilkModule.dll index db30769..7fa652c 100644 Binary files a/1.3/MilkModule/Assemblies/MilkModule.dll and b/1.3/MilkModule/Assemblies/MilkModule.dll differ diff --git a/1.3/SexperienceModule/Assemblies/SexperienceModule.dll b/1.3/SexperienceModule/Assemblies/SexperienceModule.dll index 07dfb96..bc305c7 100644 Binary files a/1.3/SexperienceModule/Assemblies/SexperienceModule.dll and b/1.3/SexperienceModule/Assemblies/SexperienceModule.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 716b9a2..c99a39a 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,12 +67,12 @@ namespace RJW_Menstruation { get { - float res = parent.pawn.RaceProps.lifeStageAges.ElementAtOrDefault(1).minAge / 2; - if (res == default) - { - if (Configurations.Debug) Log.Warning($"Could not find end age of baby lifestage for {parent.pawn}'s race"); + float res; + 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 (RJWPregnancySettings.phantasy_pregnancy) res /= GenDate.DaysPerYear; return res; diff --git a/changelogs.txt b/changelogs.txt index 0f83dc8..2f126a4 100644 --- a/changelogs.txt +++ b/changelogs.txt @@ -1,3 +1,6 @@ +Version 1.0.6.3 + - Fix pawn generation for races with a single lifestage. + Version 1.0.6.2 - Fix error/crash when a pawn in estrus (with hookup override enabled) looks for partners. - Teratophiles get the "I came inside" mood buff for ugly partners instead of pretty ones.