From fc0c2a0843e5759c2d256979495df9832fcb15ba Mon Sep 17 00:00:00 2001 From: tombay Date: Sat, 10 Aug 2024 18:36:23 +1000 Subject: [PATCH] comment uselocation for ttests and -1 means false --- profiles/countrybicycle.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/profiles/countrybicycle.lua b/profiles/countrybicycle.lua index ecb00903e..f9a319a38 100644 --- a/profiles/countrybicycle.lua +++ b/profiles/countrybicycle.lua @@ -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