mirror of
https://gitgud.io/c0ffeeeeeeee/coffees-rjw-ideology-addons.git
synced 2024-08-14 23:57:38 +00:00
bugfix
This commit is contained in:
parent
91d05d0e1e
commit
edada8ff48
4 changed files with 4 additions and 4 deletions
|
@ -18,7 +18,8 @@ namespace C0ffee_s_RJW_Ideology_Addons
|
|||
|
||||
public static void Prefix(JobDriver_SexBaseInitiator __instance)
|
||||
{
|
||||
|
||||
if (__instance is JobDriver_Masturbate || __instance.Partner == null) return;
|
||||
|
||||
HistoryEventDef def = __instance.pawn.relations.DirectRelationExists(PawnRelationDefOf.Spouse, __instance.Partner) ? HistoryEventDefOf.GotLovin_Spouse : HistoryEventDefOf.GotLovin_NonSpouse;
|
||||
|
||||
if (!(IdeoUtility.DoerWillingToDo(HistoryEventDefOf.SharedBed_NonSpouse, __instance.Partner) && (__instance.Partner.IsSlaveOfColony || __instance.Partner.IsPrisonerOfColony))) //ensure raped pawns don't enjoy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue