From 97edfd7f73bcb84812943c78335a903f25cb350c Mon Sep 17 00:00:00 2001 From: WanderingPixel <126269533+WanderingPix@users.noreply.github.com> Date: Tue, 14 Apr 2026 13:03:46 +0100 Subject: [PATCH] Fix Idle emote bug --- EmotesMod/Modules/Components/EmoteBehaviour.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);