Skip to content

Commit

Permalink
chore: Removed unnecessary calculations
Browse files Browse the repository at this point in the history
  • Loading branch information
l3lackMegas committed Mar 4, 2021
1 parent fe70f61 commit f5b252f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/main.lua
Expand Up @@ -46,7 +46,7 @@ Citizen.CreateThread(function()
triggerNUI("updateInfo", {
-- Vehicle Status
carHealth = vehicleHealth,
carFuel = math.floor(((GetVehicleFuelLevel(currVeh) / 100) * 100)),
carFuel = math.floor(GetVehicleFuelLevel(currVeh)),

-- Speed
speed = Config['useKM'] and math.floor(vehData['currSpd'] * 3.6) or math.floor(vehData['currSpd'] * 2.236936),
Expand Down

0 comments on commit f5b252f

Please sign in to comment.