From aad846b968098f00ee70ab996db84b65a8a9658f Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Fri, 15 May 2015 16:35:35 +0200 Subject: [PATCH] Fix call to function and transportation if clause --- profiles/bicycle.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/bicycle.lua b/profiles/bicycle.lua index 9efcf7070..7b7e54177 100644 --- a/profiles/bicycle.lua +++ b/profiles/bicycle.lua @@ -130,7 +130,7 @@ end function node_function (node, result) -- parse access and barrier tags - local access = find_access_tag(node, access_tags_hierachy) + local access = Access.find_access_tag(node, access_tags_hierachy) if access ~= "" then if access_tag_blacklist[access] then result.barrier = true @@ -244,7 +244,7 @@ function way_function (way, result) result.backward_speed = route_speeds[route] end -- public transport - if use_public_transport and railway and platform_speeds[railway] then + elseif use_public_transport and railway and platform_speeds[railway] then -- railway platforms (old tagging scheme) result.forward_speed = platform_speeds[railway] result.backward_speed = platform_speeds[railway]