mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Repair self-insemination pregnancies at game load
This commit is contained in:
parent
ad7919a25b
commit
4be4d881d5
3 changed files with 7 additions and 0 deletions
Binary file not shown.
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue