using HarmonyLib; using rjw; namespace Rimworld_Animations { [HarmonyPatch(typeof(JobDriver_Sex), "PlaySexSound")] class HarmonyPatch_PlaySexSounds { public static bool Prefix(JobDriver_Sex __instance) { if (CompBodyAnimator.IsAnimating(__instance.pawn)) { return false; } return true; } } }