diff --git a/1.1/Assemblies/Rimworld-Animations.dll b/1.1/Assemblies/Rimworld-Animations.dll index c1d944f..437fbbd 100644 Binary files a/1.1/Assemblies/Rimworld-Animations.dll and b/1.1/Assemblies/Rimworld-Animations.dll differ diff --git a/Source/Comps/CompBodyAnimator.cs b/Source/Comps/CompBodyAnimator.cs index b0bcce0..b355a4c 100644 --- a/Source/Comps/CompBodyAnimator.cs +++ b/Source/Comps/CompBodyAnimator.cs @@ -99,7 +99,7 @@ namespace Rimworld_Animations { AlienRaceOffset offset = anim?.actors[actor]?.raceOffsets?.Find(x => x.defName == pawn.def.defName); if (offset != null) { - anchor.x += offset.x; + anchor.x += mirror ? offset.x * -1f : offset.x; anchor.z += offset.z; } diff --git a/Source/Patches/rjwPatches/HarmonyPatch_JobDriver_SexBaseInitiator.cs b/Source/Patches/rjwPatches/HarmonyPatch_JobDriver_SexBaseInitiator.cs index bbb8cff..a69e129 100644 --- a/Source/Patches/rjwPatches/HarmonyPatch_JobDriver_SexBaseInitiator.cs +++ b/Source/Patches/rjwPatches/HarmonyPatch_JobDriver_SexBaseInitiator.cs @@ -65,10 +65,12 @@ namespace Rimworld_Animations { if (anim != null) { - Log.Message("Now playing " + anim.defName); - bool mirror = GenTicks.TicksGame % 2 == 0; + Log.Message("Now playing " + anim.defName + (mirror ? " mirrored" : "")); + + + IntVec3 pos = pawn.Position; for (int i = 0; i < pawnsToAnimate.Count; i++) {