mirror of
https://github.com/APercy/airutils.git
synced 2025-04-30 08:41:41 -04:00
fix instruction mode
This commit is contained in:
parent
cdbd2aba71
commit
e1e0330f1c
1 changed files with 1 additions and 1 deletions
|
@ -785,7 +785,7 @@ function airutils.on_rightclick(self, clicker)
|
|||
end
|
||||
|
||||
--attach player
|
||||
if clicker:get_player_control().sneak == true then
|
||||
if clicker:get_player_control().sneak == true and max_seats > 1 then
|
||||
-- flight instructor mode
|
||||
self._instruction_mode = true
|
||||
self.co_pilot_seat_base = self._passengers_base[1]
|
||||
|
|
Loading…
Add table
Reference in a new issue