Only give the littersizecurve ovulation warning once per pawn

This commit is contained in:
lutepickle 2023-08-19 18:26:54 -07:00
parent 690e61916c
commit 8cdb00a8c2
1 changed files with 1 additions and 1 deletions

View File

@ -1650,7 +1650,7 @@ namespace RJW_Menstruation
}
catch (ArgumentException e)
{
Log.Warning($"Invalid litterSizeCurve for {Pawn.def}: {e}");
Log.WarningOnce($"Invalid litterSizeCurve for {Pawn.def}: {e}", 642201874 + Pawn.thingIDNumber);
eggnum = 1f;
}
eggnum *= ovulationFactor;