From e18e1892ad117221c4f953a8aa2917a3f8180c90 Mon Sep 17 00:00:00 2001 From: lutepickle <28810-lutepickle@users.noreply.gitgud.io> Date: Fri, 29 Jul 2022 21:02:39 -0700 Subject: [PATCH] Don't let BabyHalfAge be 0 --- .../RJW_Menstruation/HediffComps/HediffComp_Breast.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 7ca2d46..ef7d103 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 @@ -69,7 +69,7 @@ namespace RJW_Menstruation { get { - if (babyHalfAge >= 0f) return babyHalfAge; + if (babyHalfAge > 0f) return babyHalfAge; List ages = parent.pawn.def.race.lifeStageAges; if (ages?.Count > 1) babyHalfAge = ages[1].minAge / 2;