fix regression in bike profile
This commit is contained in:
parent
6b88856c16
commit
023dd3e880
@ -219,7 +219,7 @@ function way_function (way, result)
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- speed
|
-- speed
|
||||||
local bridge_speed = speed_profile[bridge]
|
local bridge_speed = bicycle_speeds[bridge]
|
||||||
if (bridge_speed and bridge_speed > 0) then
|
if (bridge_speed and bridge_speed > 0) then
|
||||||
highway = bridge;
|
highway = bridge;
|
||||||
local duration = way:get_value_by_key("duration")
|
local duration = way:get_value_by_key("duration")
|
||||||
|
Loading…
Reference in New Issue
Block a user