Skip to content

Commit

Permalink
Merge pull request #55 from Gellipapa/main
Browse files Browse the repository at this point in the history
fix air speedo
  • Loading branch information
Gellipapa authored Jun 22, 2023
2 parents 6469b82 + 816cde2 commit 5e5a2d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/vehicle/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,7 @@ if not Config.Disable.Vehicle then
inVehicle = true
HUD.Data.Driver = currentSeat == -1 or false
HUD.Data.Vehicle = currentVehicle
vehicleType = vehicleClass == 15 or vehicleClass == 16 and 'AIR' or 'LAND'

vehicleType = (vehicleClass == 15 or vehicleClass == 16) and 'AIR' or 'LAND'
-- We have to check if he changed seat meantime
driverCheckThread(currentVehicle)

Expand Down

0 comments on commit 5e5a2d3

Please sign in to comment.