Fix IsVirgin check

This commit is contained in:
amevarashi 2023-07-24 20:47:56 +05:00
parent ffe6a9b7f7
commit 57fe883be0
1 changed files with 2 additions and 2 deletions

View File

@ -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>