fix instruction mode

This commit is contained in:
Alexsandro Percy 2023-08-12 14:05:32 -03:00
parent cdbd2aba71
commit e1e0330f1c

View file

@ -785,7 +785,7 @@ function airutils.on_rightclick(self, clicker)
end end
--attach player --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 -- flight instructor mode
self._instruction_mode = true self._instruction_mode = true
self.co_pilot_seat_base = self._passengers_base[1] self.co_pilot_seat_base = self._passengers_base[1]