mirror of
https://github.com/APercy/ap_airship.git
synced 2025-03-22 02:22:20 +00:00
fixed sit on attach
This commit is contained in:
parent
0ef1bc028a
commit
d757faca52
2 changed files with 2 additions and 1 deletions
|
@ -68,6 +68,7 @@ local function do_attach(self, player, slot)
|
||||||
self._passengers[slot] = name
|
self._passengers[slot] = name
|
||||||
player:set_attach(self._passengers_base[slot], "", {x = 0, y = 0, z = 0}, {x = 0, y = 0, z = 0})
|
player:set_attach(self._passengers_base[slot], "", {x = 0, y = 0, z = 0}, {x = 0, y = 0, z = 0})
|
||||||
player_api.player_attached[name] = true
|
player_api.player_attached[name] = true
|
||||||
|
self._passenger_is_sit[slot] = 0
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue