build for RJW 4.1.5a

This commit is contained in:
Platinum 2020-05-13 23:06:42 -07:00
parent eb325a8dce
commit 3e1bd7607c
3 changed files with 2 additions and 3 deletions

View file

@ -41,8 +41,7 @@
<HintPath>..\..\RimWorldWin64_Data\Managed\Assembly-CSharp.dll</HintPath> <HintPath>..\..\RimWorldWin64_Data\Managed\Assembly-CSharp.dll</HintPath>
<Private>False</Private> <Private>False</Private>
</Reference> </Reference>
<Reference Include="RJW, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="RJW">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\rjw-master\1.1\Assemblies\RJW.dll</HintPath> <HintPath>..\rjw-master\1.1\Assemblies\RJW.dll</HintPath>
<Private>False</Private> <Private>False</Private>
</Reference> </Reference>

View file

@ -19,7 +19,7 @@ namespace Rimworld_Animations {
Pawn pawn2 = target as Pawn; Pawn pawn2 = target as Pawn;
if (pawn.IsHashIntervalTick(__instance.ticks_between_thrusts)) { if (pawn.IsHashIntervalTick(__instance.ticks_between_thrusts)) {
__instance.Animate(pawn, pawn2); __instance.Animate(pawn, (Thing)pawn2);
if (!AnimationSettings.soundOverride || !pawn.TryGetComp<CompBodyAnimator>().isAnimating) { if (!AnimationSettings.soundOverride || !pawn.TryGetComp<CompBodyAnimator>().isAnimating) {
__instance.PlaySexSound(); __instance.PlaySexSound();