mirror of
https://github.com/SmallJoker/boost_cart.git
synced 2024-12-25 10:20:19 +01:00
Hacky bugfix: Force updating player attachment rotation after detach
This commit is contained in:
parent
e19d8701ce
commit
4498605509
@ -24,6 +24,8 @@ function boost_cart:manage_attachment(player, obj)
|
|||||||
else
|
else
|
||||||
player:set_detach()
|
player:set_detach()
|
||||||
player:set_eye_offset({x=0, y=0, z=0},{x=0, y=0, z=0})
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user