mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Let <= 0 age fertility stay in the patches
This commit is contained in:
parent
cb8d824a2c
commit
3498caf3a2
2 changed files with 3 additions and 1 deletions
|
@ -224,6 +224,7 @@ namespace RJW_Menstruation
|
|||
{
|
||||
public static void Postfix(ref float __result, Pawn pawn)
|
||||
{
|
||||
if (__result <= 0.0f) return;
|
||||
if (pawn.GetMenstruationComps().Any(comp => comp.CalculatingOvulationChance))
|
||||
__result = 1.0f;
|
||||
}
|
||||
|
|
|
@ -379,8 +379,9 @@ namespace RJW_Menstruation
|
|||
{
|
||||
public static void Postfix(ref float __result, Pawn pawn)
|
||||
{
|
||||
if (__result <= 0.0f) return;
|
||||
if (pawn.GetMenstruationComps().Any(comp => comp.CalculatingOvulationChance))
|
||||
__result = 1f;
|
||||
__result = 1.0f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue