Proply handle bad litter sizes
This commit is contained in:
parent
23b09b0fa9
commit
477468f8e4
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1266,6 +1266,11 @@ namespace RJW_Menstruation
|
|||
{
|
||||
eggnum = 1 + eggstack;
|
||||
}
|
||||
catch(ArgumentException)
|
||||
{
|
||||
Log.Error($"Invalid litterSizeCurve for {parent.pawn.RaceProps}");
|
||||
eggnum = 1 + eggstack;
|
||||
}
|
||||
|
||||
do
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue