mirror of
https://github.com/APercy/airutils.git
synced 2025-03-15 08:01:22 +00:00
fix co_pilot error when do not have seat
This commit is contained in:
parent
91ac05ee71
commit
b23ed3890b
1 changed files with 1 additions and 0 deletions
|
@ -133,6 +133,7 @@ function airutils.check_passenger_is_attached(self, name)
|
|||
end
|
||||
|
||||
local function attach_copilot(self, name, player, eye_y)
|
||||
if not self.co_pilot_seat_base then return end
|
||||
self.co_pilot = name
|
||||
self._passengers[2] = name
|
||||
-- attach the driver
|
||||
|
|
Loading…
Add table
Reference in a new issue