mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
genital rotation bugfix
This commit is contained in:
parent
4563b5f943
commit
4f6fc144e1
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -129,7 +129,7 @@ namespace Rimworld_Animations {
|
|||
else {
|
||||
|
||||
Quaternion addonRotation = quat;
|
||||
if (AnimationSettings.controlGenitalRotation && pawnAnimator.controlGenitalAngle && ba.hediffGraphics[0]?.path != null && (ba.hediffGraphics[0].path.Contains("Penis") || ba.hediffGraphics[0].path.Contains("penis"))) {
|
||||
if (AnimationSettings.controlGenitalRotation && pawnAnimator.controlGenitalAngle && ba?.hediffGraphics?[0]?.path != null && (ba.hediffGraphics[0].path.Contains("Penis") || ba.hediffGraphics[0].path.Contains("penis"))) {
|
||||
addonRotation = Quaternion.AngleAxis(angle: pawnAnimator.genitalAngle, axis: Vector3.up);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue