diff --git a/1.3/Assemblies/RJW_Menstruation.dll b/1.3/Assemblies/RJW_Menstruation.dll index a8b78df..bb60e44 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_Menstruation.cs b/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs index bd001b1..bffc7b7 100644 --- a/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs +++ b/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs @@ -1050,7 +1050,10 @@ namespace RJW_Menstruation public bool IsBreedingSeason() { if (Props.breedingSeason == SeasonalBreed.Always) return true; - switch (GenLocalDate.Season(parent.pawn.Map)) + Map map = parent.pawn.Map; + if (map is null) map = Find.AnyPlayerHomeMap; + if (map is null) return true; + switch (GenLocalDate.Season(map)) { case Season.Spring: if ((Props.breedingSeason & SeasonalBreed.Spring) != 0) return true;