- Implemented potential fix for users experiencing a 'null pawn reference' when pawns masturbate
This commit is contained in:
AbstractConcept 2023-02-13 16:09:19 -06:00
parent 91b3a80400
commit 4f407628b1
9 changed files with 6 additions and 4 deletions

View file

@ -76,7 +76,7 @@ namespace Rimworld_Animations_Patch
SexProps sexProps = new SexProps();
sexProps.pawn = __instance.pawn;
sexProps.partner = null;
sexProps.partner = __instance.pawn;
sexProps.sexType = xxx.rjwSextype.Masturbation;
IEnumerable<InteractionDef> interactionDefs = DefDatabase<InteractionDef>.AllDefs.Where(x => x.HasModExtension<InteractionExtension>());