comment uselocation for ttests and -1 means false

This commit is contained in:
tombay 2024-08-10 18:36:23 +10:00 committed by GitHub
parent 3e4287b8d1
commit fc0c2a0843
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -337,6 +337,9 @@ function speed_handler(profile,way,result,data)
if extra_speeds then
if extra_speeds.highway[data.highway] then
extraspeed = extra_speeds.highway[data.highway]
if extraspeed == -1 then
extraspeed = false
end
end
end
end