diff --git a/1.4/Assemblies/RJW_Menstruation.dll b/1.4/Assemblies/RJW_Menstruation.dll index f289122..6a5f83d 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/Hediff_MultiplePregnancy.cs b/1.4/source/RJW_Menstruation/RJW_Menstruation/Hediff_MultiplePregnancy.cs index 119613e..b559221 100644 --- a/1.4/source/RJW_Menstruation/RJW_Menstruation/Hediff_MultiplePregnancy.cs +++ b/1.4/source/RJW_Menstruation/RJW_Menstruation/Hediff_MultiplePregnancy.cs @@ -398,7 +398,8 @@ namespace RJW_Menstruation //fixedIdeo: mother.Ideo, forbidAnyTitle: true, forceNoBackstory: true, - forcedEndogenes: PregnancyUtility.GetInheritedGenes(father, mother) + forcedEndogenes: PregnancyUtility.GetInheritedGenes(father, mother), + forcedXenotype: ModsConfig.BiotechActive ? XenotypeDefOf.Baseliner : null ); int division = 1; @@ -634,8 +635,8 @@ namespace RJW_Menstruation } XenotypeDef motherInheritableXenotype = mother?.genes?.Xenotype; XenotypeDef fatherInheritableXenotype = father?.genes?.Xenotype; - if (!motherInheritableXenotype.inheritable) motherInheritableXenotype = null; - if (!fatherInheritableXenotype.inheritable) fatherInheritableXenotype = null; + if (!(motherInheritableXenotype?.inheritable ?? false)) motherInheritableXenotype = null; + if (!(fatherInheritableXenotype?.inheritable ?? false)) fatherInheritableXenotype = null; // If they're the same (or both null) if (motherInheritableXenotype == fatherInheritableXenotype) diff --git a/About/Manifest.xml b/About/Manifest.xml index 84c2a83..72e60db 100644 --- a/About/Manifest.xml +++ b/About/Manifest.xml @@ -1,7 +1,7 @@ RJW Menstruation - 1.0.8.3 + 1.0.8.4 diff --git a/changelogs.txt b/changelogs.txt index cfa0841..45b5b39 100644 --- a/changelogs.txt +++ b/changelogs.txt @@ -1,3 +1,6 @@ +Version 1.0.8.4 + - Newborns should now be baseliners if there are no xenotypes to inherit. + Version 1.0.8.3 - Compatibility update for RJW 5.3.0.9 - Requires RJW 5.3.0.9