diff --git a/1.2/Assemblies/Rimworld-Animations.dll b/1.2/Assemblies/Rimworld-Animations.dll index c1f2488..290879a 100644 Binary files a/1.2/Assemblies/Rimworld-Animations.dll and b/1.2/Assemblies/Rimworld-Animations.dll differ diff --git a/Source/Patches/rjwPatches/HarmonyPatch_JobDriver_SexBaseInitiator.cs b/Source/Patches/rjwPatches/HarmonyPatch_JobDriver_SexBaseInitiator.cs index 87a9ef2..aa6e6bf 100644 --- a/Source/Patches/rjwPatches/HarmonyPatch_JobDriver_SexBaseInitiator.cs +++ b/Source/Patches/rjwPatches/HarmonyPatch_JobDriver_SexBaseInitiator.cs @@ -92,6 +92,17 @@ namespace Rimworld_Animations { IntVec3 pos = pawn.Position; + Log.Message("Pawns count:" + pawnsToAnimate.Count + "Selected Anims Count: " + anim.actors.Count); + if(pawnsToAnimate.Count > anim.actors.Count) + { + Log.Warning("Too many pawns for this anim. Stopping other actors..."); + for(int i = anim.actors.Count; i < pawnsToAnimate.Count; i++) + { + pawnsToAnimate[i].TryGetComp().isAnimating = false; + } + + } + for (int i = 0; i < pawnsToAnimate.Count; i++) { if (bed != null)