mirror of
https://github.com/APercy/airutils
synced 2025-08-28 07:06:23 +02:00
fix co_pilot error when do not have seat
This commit is contained in:
parent
91ac05ee71
commit
b23ed3890b
@ -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…
Reference in New Issue
Block a user