From f30115d0ac8a3950be9356f86604ab5e56a8f556 Mon Sep 17 00:00:00 2001 From: Dan Date: Sat, 14 Mar 2020 22:56:41 +0000 Subject: [PATCH] Fixed a bug that caused the fast speeds to not be accurate --- cl_radar.lua | 2 +- fxmanifest.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cl_radar.lua b/cl_radar.lua index 629b483..694aa57 100644 --- a/cl_radar.lua +++ b/cl_radar.lua @@ -1381,7 +1381,7 @@ function RADAR:GetVehiclesForAntenna() for k, v in pairs( vehs[ant] ) do -- When we grab a vehicle for the fastest section, as it is like how the real system works, there are a few -- additional checks that have to be made - if ( self:CheckVehicleDataFitsMode( ant, v.rayType ) and v.veh ~= temp.veh and v.size < temp.size and v.speed + 1.0 > temp.speed ) then + if ( self:CheckVehicleDataFitsMode( ant, v.rayType ) and v.veh ~= temp.veh and v.size < temp.size and v.speed > temp.speed + 1.0 ) then -- Set the result for the current antenna results[ant][2] = v break diff --git a/fxmanifest.lua b/fxmanifest.lua index 260681c..d26c812 100644 --- a/fxmanifest.lua +++ b/fxmanifest.lua @@ -38,7 +38,7 @@ game "gta5" name "Wraith ARS 2X" description "Police radar and plate reader system for FiveM" author "WolfKnight" -version "1.1.0" +version "1.1.1" -- Include the files files {