mirror of
https://github.com/APercy/airutils.git
synced 2025-03-15 08:01:22 +00:00
improved copilot detacchment
This commit is contained in:
parent
86432a1979
commit
07a1d382c6
1 changed files with 1 additions and 0 deletions
|
@ -193,6 +193,7 @@ function airutils.dettach_pax(self, player)
|
|||
-- passenger clicked the object => driver gets off the vehicle
|
||||
if self.co_pilot == name then
|
||||
self.co_pilot = nil
|
||||
self._passengers[2] = nil
|
||||
else
|
||||
local max_seats = table.getn(self._seats)
|
||||
for i = max_seats,1,-1
|
||||
|
|
Loading…
Add table
Reference in a new issue