edit checkDistance

This commit is contained in:
Mustache Dom committed 2026-01-19 00:46:49 -07:00
1 parent df9584711a
commit fb500dc502
16 files changed
+52 -88

No files matched your search

+1 -1
View File
@@ -116,7 +116,7 @@ Bridge.Callback.Register('md-drugs:server:registerLean', function(source, loc, v
if onRun[src] then
return false
else
if not checkDistance(src, Locations.Lean.SyrupVendor[loc].loc, 5.0) then
if not checkDistance(src, Locations.Lean.SyrupVendor[loc].loc, 5.0, 'md-drugs:server:registerLean') then
return false
end
if not vehicleNetId then