Fixed Sexual Proselyzing
This commit is contained in:
parent
bf7f6a29fb
commit
450c835d2b
|
@ -238,7 +238,7 @@ namespace RJWSexperience.Ideology.Patches
|
||||||
public static void Postfix(SexProps props)
|
public static void Postfix(SexProps props)
|
||||||
{
|
{
|
||||||
// ShortCuts: Exit Early if Pawn or Partner are null (can happen with Animals or Masturbation)
|
// ShortCuts: Exit Early if Pawn or Partner are null (can happen with Animals or Masturbation)
|
||||||
if (props.pawn != null && props.hasPartner())
|
if (props.pawn == null || !props.hasPartner())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (props.partner.Ideo?.HasPrecept(VariousDefOf.ProselyzingByOrgasm) == true)
|
if (props.partner.Ideo?.HasPrecept(VariousDefOf.ProselyzingByOrgasm) == true)
|
||||||
|
|
Loading…
Reference in New Issue