We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5a7af1 commit b787fcfCopy full SHA for b787fcf
mods/carts/cart_entity.lua
@@ -66,7 +66,7 @@ end
66
-- 0.5.x and later: When the driver leaves
67
function cart_entity:on_detach_child(child)
68
if child and child:get_player_name() == self.driver then
69
- self.driver = nil
+ carts:manage_attachment(child, nil)
70
end
71
72
0 commit comments