add early end to vehicle ownership check

This commit is contained in:
Jim Shield
2025-09-06 12:32:39 +01:00
parent 42630cc3c4
commit 8533bbff90

View File

@@ -364,6 +364,7 @@ function isVehicleOwned(plate)
local framework = vehDatabase[i] local framework = vehDatabase[i]
if isStarted(framework.framework) then if isStarted(framework.framework) then
sqlTable = framework.sqlTable sqlTable = framework.sqlTable
break
end end
end end