Proply handle bad litter sizes

This commit is contained in:
lutepickle 2022-04-03 22:12:45 -07:00
parent 23b09b0fa9
commit 477468f8e4
4 changed files with 5 additions and 0 deletions

Binary file not shown.

View File

@ -1266,6 +1266,11 @@ namespace RJW_Menstruation
{
eggnum = 1 + eggstack;
}
catch(ArgumentException)
{
Log.Error($"Invalid litterSizeCurve for {parent.pawn.RaceProps}");
eggnum = 1 + eggstack;
}
do
{