Check for type "Hand" instead of guid

Co-authored-by: Chr1Z <97286811+Chr1Z93@users.noreply.github.com>
This commit is contained in:
Alexander Lacson 2024-11-05 20:00:31 +08:00 committed by GitHub
parent 50e472d4ba
commit d872127eff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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