diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-11-03 23:05:36 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-11-03 23:05:36 -0400 |
commit | fadb973205f3ad378db409c32f0ecd93b7df73ee (patch) | |
tree | 1651f4c30d7ee91f7ce6c34f4ac8ae92923449e4 /boost_cart/functions.lua | |
parent | 159a50b8ce13fccf03b5992f22bb994395f19780 (diff) | |
download | dreambuilder_modpack-fadb973205f3ad378db409c32f0ecd93b7df73ee.tar dreambuilder_modpack-fadb973205f3ad378db409c32f0ecd93b7df73ee.tar.gz dreambuilder_modpack-fadb973205f3ad378db409c32f0ecd93b7df73ee.tar.bz2 dreambuilder_modpack-fadb973205f3ad378db409c32f0ecd93b7df73ee.tar.xz dreambuilder_modpack-fadb973205f3ad378db409c32f0ecd93b7df73ee.zip |
update boost_cart, currency, mesecons, pipeworks, and technic
Diffstat (limited to 'boost_cart/functions.lua')
-rw-r--r-- | boost_cart/functions.lua | 3 |
1 files changed, 1 insertions, 2 deletions
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 |