From fadb973205f3ad378db409c32f0ecd93b7df73ee Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 3 Nov 2017 23:05:36 -0400 Subject: update boost_cart, currency, mesecons, pipeworks, and technic --- boost_cart/functions.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'boost_cart/functions.lua') diff --git a/boost_cart/functions.lua b/boost_cart/functions.lua index 9f5b7e9..ec04bb7 100644 --- a/boost_cart/functions.lua +++ b/boost_cart/functions.lua @@ -18,8 +18,7 @@ function boost_cart:manage_attachment(player, obj) default.player_attached[player_name] = status if status then - -- player_api came after the new model. Check for it. - local y_pos = player_api and -4.5 or 6 + local y_pos = self.old_player_model and 6 or -4.2 player:set_attach(obj, "", {x=0, y=y_pos, z=0}, {x=0, y=0, z=0}) player:set_eye_offset({x=0, y=-4, z=0},{x=0, y=-4, z=0}) else -- cgit v1.2.3