mirror of
https://github.com/APercy/airutils
synced 2025-08-15 09:25:47 +02:00
fix instruction mode
This commit is contained in:
parent
cdbd2aba71
commit
e1e0330f1c
@ -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…
Reference in New Issue
Block a user