diff --git a/EmotesMod/Modules/Components/EmoteBehaviour.cs b/EmotesMod/Modules/Components/EmoteBehaviour.cs index 836f012..3ad51f8 100644 --- a/EmotesMod/Modules/Components/EmoteBehaviour.cs +++ b/EmotesMod/Modules/Components/EmoteBehaviour.cs @@ -28,7 +28,7 @@ public IEnumerator CoHandleIdleEmote(bool loop) pc.cosmetics.gameObject.SetActive(false); if (loop) { - Vector2 originalPos = PlayerControl.LocalPlayer.GetTruePosition(); + Vector2 originalPos = pc.GetTruePosition(); while (originalPos == pc.GetTruePosition()) { pc.MyPhysics.Animations.Animator.Play(currentEmote.anim.Value);