mirror of
https://github.com/APercy/airutils
synced 2025-09-04 02:26:24 +02:00
improved copilot detacchment
This commit is contained in:
parent
86432a1979
commit
07a1d382c6
@ -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…
Reference in New Issue
Block a user