Skip to content

Commit

Permalink
Filter driver only inputs on aircraft
Browse files Browse the repository at this point in the history
  • Loading branch information
StyledStrike committed Jan 20, 2025
1 parent f1b5bff commit 5fa0527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/entities/base_glide_aircraft/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ end

--- Implement this base class function.
function ENT:OnSeatInput( seatIndex, action, pressed )
if not pressed then return end
if not pressed or seatIndex > 1 then return end

-- Toggle landing gear
if action == "landing_gear" and self.HasLandingGear and seatIndex < 2 then
Expand Down

0 comments on commit 5fa0527

Please sign in to comment.