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))