Make EggHealth properly return a float
This commit is contained in:
parent
297e37a4ef
commit
325b60b51c
|
@ -203,7 +203,7 @@ namespace RJW_Menstruation
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (!Configurations.EnableMenopause || Props.infertile) return Mathf.Max(1.0f, ovarypower / OvaryPowerThreshold);
|
if (!Configurations.EnableMenopause || Props.infertile) return Mathf.Max(1.0f, ovarypower / OvaryPowerThreshold);
|
||||||
else return ovarypower / OvaryPowerThreshold;
|
else return (float)ovarypower / OvaryPowerThreshold;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue