better futa ordering for anims
This commit is contained in:
parent
94aca1c46b
commit
00d8a0be4b
Binary file not shown.
|
@ -19,11 +19,11 @@ namespace Rimworld_Animations {
|
|||
//aggressors last
|
||||
participants = participants.OrderBy(p => p.jobs.curDriver is rjw.JobDriver_SexBaseInitiator).ToList();
|
||||
|
||||
participants = participants.OrderByDescending(p => rjw.GenderHelper.GetSex(p) == rjw.GenderHelper.Sex.futa).ToList();
|
||||
|
||||
//pawns that can fuck last
|
||||
participants = participants.OrderBy(p => rjw.xxx.can_fuck(p)).ToList();
|
||||
|
||||
participants = participants.OrderByDescending(p => rjw.GenderHelper.GetSex(p) == rjw.GenderHelper.Sex.futa).ToList();
|
||||
|
||||
|
||||
List<Pawn> localParticipants = new List<Pawn>(participants);
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace Rimworld_Animations {
|
|||
|
||||
__instance.Animate(pawn, pawn2);
|
||||
|
||||
if (!AnimationSettings.soundOverride || !pawn.TryGetComp<CompBodyAnimator>().isAnimating) {
|
||||
if (!AnimationSettings.soundOverride || pawn.TryGetComp<CompBodyAnimator>() == null || !pawn.TryGetComp<CompBodyAnimator>().isAnimating) {
|
||||
__instance.PlaySexSound();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue