From 3e1bd7607c3de8ea2aedfc2be7f4c5f267c45d33 Mon Sep 17 00:00:00 2001 From: Platinum Date: Wed, 13 May 2020 23:06:42 -0700 Subject: [PATCH] build for RJW 4.1.5a --- 1.1/Assemblies/Rimworld-Animations.dll | Bin 46080 -> 46080 bytes Rimworld-Animations.csproj | 3 +-- .../rjwPatches/HarmonyPatch_SexTick.cs | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/1.1/Assemblies/Rimworld-Animations.dll b/1.1/Assemblies/Rimworld-Animations.dll index fcecfae17a698923c368584ca53091bdff6ae81d..9c2769514de266cdaceb3493f2c2a23d8217002d 100644 GIT binary patch delta 167 zcmZp8!PM}AX+j4}ZsL{s8+&xpSomb+8aMArQ!o@zPl&(OTeaGK$;nf?r8yscHouuJ z!OLN6p=WGtU}`e?<1)3)MoVKEQA8&1U8aL95Q)rD+g!2S4Nd)<6<#PxCa0|QK@r$| IZ>16!01X~KL;wH) delta 167 zcmZp8!PM}AX+j5!Mv&dkjXgSPEUdCS(>L!)Q!o@r4Hof8GkEE_%hA9j|Lb+X&2Oel z@NyVg>KU1tni^03xJ+%c(b8B(6p_h$m+2r2L?Uz4HdicnLsS1|g%^sF$tf#+Py{yL ITdBka02qEep8x;= diff --git a/Rimworld-Animations.csproj b/Rimworld-Animations.csproj index 6c2c621..507dad5 100644 --- a/Rimworld-Animations.csproj +++ b/Rimworld-Animations.csproj @@ -41,8 +41,7 @@ ..\..\RimWorldWin64_Data\Managed\Assembly-CSharp.dll False - - False + ..\rjw-master\1.1\Assemblies\RJW.dll False diff --git a/Source/Patches/rjwPatches/HarmonyPatch_SexTick.cs b/Source/Patches/rjwPatches/HarmonyPatch_SexTick.cs index 5812861..99e8d98 100644 --- a/Source/Patches/rjwPatches/HarmonyPatch_SexTick.cs +++ b/Source/Patches/rjwPatches/HarmonyPatch_SexTick.cs @@ -19,7 +19,7 @@ namespace Rimworld_Animations { Pawn pawn2 = target as Pawn; if (pawn.IsHashIntervalTick(__instance.ticks_between_thrusts)) { - __instance.Animate(pawn, pawn2); + __instance.Animate(pawn, (Thing)pawn2); if (!AnimationSettings.soundOverride || !pawn.TryGetComp().isAnimating) { __instance.PlaySexSound();