Rename InitializeExtraValues to PostInitialize for consistency

This commit is contained in:
lutepickle 2024-03-17 20:01:41 -07:00
parent bf37fcb3f2
commit b09ea9153e
3 changed files with 6 additions and 6 deletions

View file

@ -17,9 +17,9 @@ namespace RJW_Menstruation
{
protected bool hadOvulatoryStage = false; // Regardless of whether an egg was actually produced
protected override void InitializeExtraValues()
protected override void PostInitialize()
{
base.InitializeExtraValues();
base.PostInitialize();
hadOvulatoryStage |= IsEggExist;
}

View file

@ -1164,7 +1164,7 @@ namespace RJW_Menstruation
else if (currentIntervalTicks < curStageTicks) curStageTicks = currentIntervalTicks;
}
if (crampPain < 0) crampPain = PainRandomizer();
InitializeExtraValues();
PostInitialize();
TakeLoosePregnancy();
@ -1178,7 +1178,7 @@ namespace RJW_Menstruation
Notify_UpdatedGenes();
}
protected virtual void InitializeExtraValues()
protected virtual void PostInitialize()
{
}

View file

@ -26,9 +26,9 @@ namespace RJW_Menstruation
Props = (CompProperties_PeriodicOvulator)props;
}
protected override void InitializeExtraValues()
protected override void PostInitialize()
{
base.InitializeExtraValues();
base.PostInitialize();
if (averageCycleIntervalTicks < 0)
{
averageCycleIntervalTicks = (int)(Props.cycleIntervalDays.RandomInRange * GenDate.TicksPerDay / cycleSpeed);