From f43fd3cc7dfe5884806daf4eb72d1bcb6dfb8e70 Mon Sep 17 00:00:00 2001 From: amevarashi Date: Sun, 6 Nov 2022 19:16:15 +0500 Subject: [PATCH] Maybe removed sex proselyzing error with bestiality --- Source/IdeologyAddon/Patches/RJW_Patch_Ideo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/IdeologyAddon/Patches/RJW_Patch_Ideo.cs b/Source/IdeologyAddon/Patches/RJW_Patch_Ideo.cs index 1734583..f387f14 100644 --- a/Source/IdeologyAddon/Patches/RJW_Patch_Ideo.cs +++ b/Source/IdeologyAddon/Patches/RJW_Patch_Ideo.cs @@ -238,7 +238,7 @@ namespace RJWSexperience.Ideology.Patches public static void Postfix(SexProps props) { // ShortCuts: Exit Early if Pawn or Partner are null (can happen with Animals or Masturbation) - if (props.pawn == null || !props.hasPartner()) + if (props.pawn?.Ideo == null || !props.hasPartner()) return; if (props.partner.Ideo?.HasPrecept(VariousDefOf.ProselyzingByOrgasm) == true)