mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Proper check for the new speed/variability on init
This commit is contained in:
parent
4737641673
commit
5c1fb93613
1 changed files with 3 additions and 3 deletions
|
@ -897,8 +897,8 @@ namespace RJW_Menstruation
|
||||||
|
|
||||||
if (!Props.infertile)
|
if (!Props.infertile)
|
||||||
{
|
{
|
||||||
if (cycleSpeed < 1) cycleSpeed = Utility.RandGaussianLike(0.8f, 1.2f);
|
if (cycleSpeed < 0f) cycleSpeed = Utility.RandGaussianLike(0.8f, 1.2f);
|
||||||
if (cycleVariability < 1) cycleVariability = Utility.RandomVariabilityPercent();
|
if (cycleVariability < 0f) cycleVariability = Utility.RandomVariabilityPercent();
|
||||||
if (currentIntervalhours < 0)
|
if (currentIntervalhours < 0)
|
||||||
{
|
{
|
||||||
//follicularIntervalhours = PeriodRandomizer(Props.follicularIntervalDays * 24, Props.deviationFactor);
|
//follicularIntervalhours = PeriodRandomizer(Props.follicularIntervalDays * 24, Props.deviationFactor);
|
||||||
|
@ -1448,7 +1448,7 @@ namespace RJW_Menstruation
|
||||||
GoNextStage(Stage.Ovulatory);
|
GoNextStage(Stage.Ovulatory);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
currentIntervalhours = totalFollicularHours - currentIntervalhours;
|
currentIntervalhours = totalFollicularHours - currentIntervalhours; // I.e., the remaining follicular hours equals the total minus the bleeding hours elapsed
|
||||||
GoNextStage(climacteric ? Stage.ClimactericFollicular : Stage.Follicular, false);
|
GoNextStage(climacteric ? Stage.ClimactericFollicular : Stage.Follicular, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue