- 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

@ -1,3 +1,6 @@
Change log v 2.0.8
- Implemented potential fix for users experiencing a 'null pawn reference' when pawns masturbate
Change log v 2.0.7
- Fixed issue where apparel settings were not being saved between sessions
- Using the 'set all true / false' buttons in the apparel settings now only applies to the apparel that are currently displayed in the configuration table

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Manifest>
<version>2.0.7</version>
<version>2.0.8</version>
<downloadUri>https://gitgud.io/AbstractConcept/rimworld-animations-patch</downloadUri>
</Manifest>

View File

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<Rimworld_Animations.AnimationDef>
<defName>MasturbationWithPenis_Standing</defName>
<label>Masturbating</label>
@ -2123,7 +2122,7 @@
<Rimworld_Animations.AnimationDef>
<defName>MasturbationHumping_InBed</defName>
<label>Masturbating</label>
<label>Masturbating</label>
<tags>
<li>masturbatin'.</li>
</tags>

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>());