Fix wrong variable name reference
Co-authored-by: Chr1Z <97286811+Chr1Z93@users.noreply.github.com>
This commit is contained in:
parent
d872127eff
commit
b8682f1018
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user