From d872127eff8e1b71f91e1ba443638bffe95073b8 Mon Sep 17 00:00:00 2001 From: Alexander Lacson <41433185+max-torch@users.noreply.github.com> Date: Tue, 5 Nov 2024 20:00:31 +0800 Subject: [PATCH] Check for type "Hand" instead of guid Co-authored-by: Chr1Z <97286811+Chr1Z93@users.noreply.github.com> --- src/playermat/PlayermatApi.ttslua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playermat/PlayermatApi.ttslua b/src/playermat/PlayermatApi.ttslua index 4a0c645e..cbbf81af 100644 --- a/src/playermat/PlayermatApi.ttslua +++ b/src/playermat/PlayermatApi.ttslua @@ -409,7 +409,7 @@ do -- offset the rotation by 180 degrees if the guid matches the player hand zones local finalRotationY = rotationY - if guid == "0285cc" or guid == "a70eee" or guid == "5fe087" or guid == "be2f17" then + if obj.type == "Hand" then newRotationY = rotationY - 180 end