Fix wrong variable name reference

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

View File

@ -410,7 +410,7 @@ do
-- offset the rotation by 180 degrees if the guid matches the player hand zones
local finalRotationY = rotationY
if obj.type == "Hand" then
newRotationY = rotationY - 180
finalRotationY = rotationY + 180
end
obj.setRotation(obj.getRotation():setAt("y", finalRotationY))