diff --git a/RJWSexperience/RJWSexperience/Patches/RJW_Patch.cs b/RJWSexperience/RJWSexperience/Patches/RJW_Patch.cs index 547699a..cacf2d9 100644 --- a/RJWSexperience/RJWSexperience/Patches/RJW_Patch.cs +++ b/RJWSexperience/RJWSexperience/Patches/RJW_Patch.cs @@ -64,8 +64,9 @@ namespace RJWSexperience Pawn pawn = props.pawn; UpdateLust(props, satisfaction); FillCumBuckets(props); - RJWUtility.UpdateSatisfactionHIstory(pawn, props.partner, props, satisfaction); pawn.records?.Increment(VariousDefOf.OrgasmCount); + if (props.partner != null) + pawn.TryGetComp()?.RecordSatisfaction(props.partner, props, satisfaction); } private static void FillCumBuckets(SexProps props) diff --git a/RJWSexperience/RJWSexperience/RJWUtility.cs b/RJWSexperience/RJWSexperience/RJWUtility.cs index b77b9ce..549c80f 100644 --- a/RJWSexperience/RJWSexperience/RJWUtility.cs +++ b/RJWSexperience/RJWSexperience/RJWUtility.cs @@ -159,17 +159,7 @@ namespace RJWSexperience { if (partner != null) { - SexHistoryComp pawnshistory = pawn.TryGetComp(); - pawnshistory?.RecordSex(partner, props); - } - } - - public static void UpdateSatisfactionHIstory(Pawn pawn, Pawn partner, SexProps props, float satisfaction) - { - if (partner != null) - { - SexHistoryComp pawnshistory = pawn.TryGetComp(); - pawnshistory?.RecordSatisfaction(partner, props, satisfaction); + pawn.TryGetComp()?.RecordSex(partner, props); } }