From 30f870e88c92585e2978dbbced449f08bb8be2d0 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Fri, 15 May 2020 19:02:38 +0200 Subject: [PATCH] Reset player view and attachment table on death --- cart_entity.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cart_entity.lua b/cart_entity.lua index 07fe911..73ae7d4 100644 --- a/cart_entity.lua +++ b/cart_entity.lua @@ -94,7 +94,7 @@ end -- 0.5.x and later: When the driver leaves function cart_entity:on_detach_child(child) if child and child:get_player_name() == self.driver then - self.driver = nil + boost_cart:manage_attachment(child, nil) end end