diff --git a/1.1/Assemblies/Rimworld-Animations.dll b/1.1/Assemblies/Rimworld-Animations.dll index fcecfae..9c27695 100644 Binary files a/1.1/Assemblies/Rimworld-Animations.dll and b/1.1/Assemblies/Rimworld-Animations.dll differ 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();