Little refactor in the HAR littersize patch

This commit is contained in:
lutepickle 2024-04-24 09:36:55 -07:00
parent bbaf27a397
commit d6818b9834

View file

@ -301,10 +301,10 @@ namespace RJW_Menstruation
// So make it always consider the mother to have one baby
public static class HAR_LitterSize_Undo
{
public static void Postfix(ref int __result, Pawn mother)
public static void Postfix(ref int __result)
{
if (Configurations.PregnancySource != Configurations.PregnancyType.Biotech || !Configurations.EnableBiotechTwins) return;
__result = 0;
if (Configurations.PregnancySource == Configurations.PregnancyType.Biotech && Configurations.EnableBiotechTwins)
__result = 0;
return;
}
}