From 5310b6325ebdb4932d254c500963c3aea2bb5c00 Mon Sep 17 00:00:00 2001 From: Xertis <118364459+Xertis@users.noreply.github.com> Date: Sun, 3 Aug 2025 14:07:32 +0300 Subject: [PATCH] fix hud.lua --- res/scripts/hud.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/scripts/hud.lua b/res/scripts/hud.lua index abd1eaf4..cf2153a2 100644 --- a/res/scripts/hud.lua +++ b/res/scripts/hud.lua @@ -96,7 +96,7 @@ local function update_hand() local rotation = cam:get_rot() - local angle = player.get_rot() - 90 + local angle = player.get_rot(pid) - 90 local cos = math.cos(angle / (180 / math.pi)) local sin = math.sin(angle / (180 / math.pi))