Compare commits

..

2 commits

Author SHA1 Message Date
Hikaro
214d4e1571 Merge branch 'dev' into 'dev'
Ukrainian localization

See merge request lutepickle/rjw_menstruation!8
2024-07-31 14:34:51 +00:00
lutepickle
4be4d881d5 Repair self-insemination pregnancies at game load 2024-07-31 06:50:38 -07:00
3 changed files with 7 additions and 0 deletions

Binary file not shown.

View file

@ -637,7 +637,11 @@ namespace RJW_Menstruation
Scribe_Values.Look(ref DoCleanWomb, "DoCleanWomb", false);
Scribe_References.Look(ref pregnancy, "pregnancy");
if (Scribe.mode == LoadSaveMode.PostLoadInit)
{
Initialize();
if (pregnancy is HediffWithParents vanillaPreg && vanillaPreg.Mother == vanillaPreg.Father) // Fix mother == father issue
vanillaPreg.SetParents(vanillaPreg.Mother, null, vanillaPreg.geneSet);
}
}

View file

@ -1,3 +1,6 @@
Version 1.5.0.2
- Fix error during labor if the mother is also the father.
Version 1.5.0.1
- Fix error getting blood color of pawns without genes.