Use Max for the avglittersize

This commit is contained in:
lutepickle 2022-07-08 18:35:47 -07:00
parent 096f941762
commit 96c81c70bf
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -970,7 +970,7 @@ namespace RJW_Menstruation
float avglittersize;
try
{
avglittersize = Mathf.Min(Rand.ByCurveAverage(pawn.def.race.litterSizeCurve), 1.0f);
avglittersize = Mathf.Max(Rand.ByCurveAverage(pawn.def.race.litterSizeCurve), 1.0f);
}
catch (NullReferenceException)
{