temp fix for nude

This commit is contained in:
c0ffee 2021-04-20 22:24:56 -07:00
parent ac6deb9553
commit f24f95bf53
3 changed files with 8 additions and 8 deletions

View file

@ -104,14 +104,10 @@ namespace Rimworld_Animations {
IntVec3 pos = pawn.Position;
if(pawnsToAnimate.Count > anim.actors.Count)
{
for(int i = anim.actors.Count; i < pawnsToAnimate.Count; i++)
{
pawnsToAnimate[i].TryGetComp<CompBodyAnimator>().isAnimating = false;
}
}
for (int i = 0; i < anim.actors.Count; i++)
{
pawnsToAnimate[i].TryGetComp<CompBodyAnimator>().isAnimating = false;
}
for (int i = 0; i < pawnsToAnimate.Count; i++) {

View file

@ -44,6 +44,10 @@ namespace Rimworld_Animations
(target as Pawn).GainComfortFromCellIfPossible(false);
}
}
if(!__instance.isEndytophile)
{
SexUtility.DrawNude(pawn, false);
}
}
return false;