Fix IsVirgin check
This commit is contained in:
parent
ffe6a9b7f7
commit
57fe883be0
|
@ -54,8 +54,8 @@ namespace RJWSexperience
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static bool IsVirgin(this Pawn pawn)
|
public static bool IsVirgin(this Pawn pawn)
|
||||||
{
|
{
|
||||||
return pawn.records.GetValue(RsDefOf.Record.VaginalSexCount) == 0 ||
|
return pawn.records.GetValue(RsDefOf.Record.VaginalSexCount) == 0 &&
|
||||||
pawn.relations?.ChildrenCount > 0; // Male is a virgins unless he stick into vagina? Not sure it should work this way
|
(pawn.relations?.ChildrenCount ?? 0) < 1; // Male is a virgins unless he stick into vagina? Not sure it should work this way
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue