diff --git a/functions.lua b/functions.lua index ec04bb7..e078a24 100644 --- a/functions.lua +++ b/functions.lua @@ -24,6 +24,8 @@ function boost_cart:manage_attachment(player, obj) else player:set_detach() player:set_eye_offset({x=0, y=0, z=0},{x=0, y=0, z=0}) + -- HACK in effect! Force updating the attachment rotation + player:set_properties({}) end end