Make EggHealth properly return a float

This commit is contained in:
lutepickle 2023-03-06 13:51:11 -08:00
parent 297e37a4ef
commit 325b60b51c
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ namespace RJW_Menstruation
get
{
if (!Configurations.EnableMenopause || Props.infertile) return Mathf.Max(1.0f, ovarypower / OvaryPowerThreshold);
else return ovarypower / OvaryPowerThreshold;
else return (float)ovarypower / OvaryPowerThreshold;
}
}