1
0
mirror of https://github.com/SmallJoker/boost_cart.git synced 2024-11-14 23:00:20 +01:00

More use of default.player_attached

This commit is contained in:
SmallJoker 2014-11-08 20:11:51 +01:00
parent 2929d2ceb7
commit 573d56de1a

View File

@ -43,6 +43,7 @@ function boost_cart.cart:on_rightclick(clicker)
clicker:set_detach()
elseif not self.driver then
self.driver = player_name
default.player_attached[player_name] = true
clicker:set_attach(self.object, "", {x=0, y=3, z=0}, {x=0, y=0, z=0})
end
end