mirror of
https://github.com/APercy/airutils
synced 2025-11-11 09:17:58 +01: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
|
end
|
||||||
|
|
||||||
local function attach_copilot(self, name, player, eye_y)
|
local function attach_copilot(self, name, player, eye_y)
|
||||||
|
if not self.co_pilot_seat_base then return end
|
||||||
self.co_pilot = name
|
self.co_pilot = name
|
||||||
self._passengers[2] = name
|
self._passengers[2] = name
|
||||||
-- attach the driver
|
-- attach the driver
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user