Skip to content

Commit

Permalink
fix issue #111
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangducvn committed Apr 8, 2022
1 parent ecb29ba commit a8ef759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ function RefreshVehicles()
for k, v in pairs(result) do
local vehspawned = true
local loadedVehicles = GetAllVehicles()
local loadedVehicle = TryGetLoadedVehicle(plate, loadedVehicles)
local loadedVehicle = TryGetLoadedVehicle(v.plate, loadedVehicles)
if loadedVehicle ~= nil then -- vehicle found
vehspawned = true
else
Expand Down

0 comments on commit a8ef759

Please sign in to comment.