diff --git a/1.4/Assemblies/RJW_Menstruation.dll b/1.4/Assemblies/RJW_Menstruation.dll index c79e55d..e6dba69 100644 Binary files a/1.4/Assemblies/RJW_Menstruation.dll and b/1.4/Assemblies/RJW_Menstruation.dll differ diff --git a/1.4/source/RJW_Menstruation/RJW_Menstruation/VariousDefOf.cs b/1.4/source/RJW_Menstruation/RJW_Menstruation/VariousDefOf.cs index b44c308..920bd78 100644 --- a/1.4/source/RJW_Menstruation/RJW_Menstruation/VariousDefOf.cs +++ b/1.4/source/RJW_Menstruation/RJW_Menstruation/VariousDefOf.cs @@ -167,14 +167,13 @@ namespace RJW_Menstruation get { if (egglayergenes != null) return egglayergenes; - egglayergenes = new HashSet(); - - GeneDef AG_EggLaying = DefDatabase.GetNamedSilentFail("AG_EggLaying"); // Alpha Genes - GeneDef VRESaurids_Oviparous = DefDatabase.GetNamedSilentFail("VRESaurids_Oviparous"); // VE Saurid - GeneDef VRE_SaplingBirth = DefDatabase.GetNamedSilentFail("VRE_SaplingBirth"); // VE Phytokin - if (AG_EggLaying != null) egglayergenes.Add(AG_EggLaying); - if (VRESaurids_Oviparous != null) egglayergenes.Add(VRESaurids_Oviparous); - if (VRE_SaplingBirth != null) egglayergenes.Add(VRE_SaplingBirth); + egglayergenes = new HashSet + { + DefDatabase.GetNamedSilentFail("AG_EggLaying"), // Alpha Genes + DefDatabase.GetNamedSilentFail("VRESaurids_Oviparous"), // VE Saurid + DefDatabase.GetNamedSilentFail("VRE_SaplingBirth"), // VE Phytokin + }; + egglayergenes.Remove(null); return egglayergenes; } diff --git a/changelogs.txt b/changelogs.txt index 4593309..d7aaa6b 100644 --- a/changelogs.txt +++ b/changelogs.txt @@ -5,7 +5,7 @@ Version 1.0.9.2 - Handle errors more gracefully when starting a pregnancy. - Fix implanting multiple eggs in an animal when configured to use Biotech pregnancies. - Egglaying races no longer have a menstrual cycle, regardless of vagina type. - - Pawns with the egglaying genes from Alpha Genes or VE Saurids or Phytokin no longer have a menstrual cycle. + - Pawns with the egglaying genes from Alpha Genes, VE Saurids, or Phytokin no longer have a menstrual cycle. - The womb status button will now appear in a pawn's health tab when using Compact Hediffs, with thanks to Fern. - Tampons and pads are now allowed by default in the worker, soldier, and slave starting outfits.