remove debug output
This commit is contained in:
parent
7cf363eb06
commit
845020b0e2
@ -280,9 +280,7 @@ function way_function (way, result)
|
|||||||
-- handling movable bridges
|
-- handling movable bridges
|
||||||
local bridge_speed = speed_profile[bridge]
|
local bridge_speed = speed_profile[bridge]
|
||||||
if (bridge_speed and bridge_speed > 0) then
|
if (bridge_speed and bridge_speed > 0) then
|
||||||
io.write("-bridge: "..bridge.."\n")
|
|
||||||
highway = bridge;
|
highway = bridge;
|
||||||
io.write("-highway: "..highway.."\n")
|
|
||||||
local duration = way:get_value_by_key("duration")
|
local duration = way:get_value_by_key("duration")
|
||||||
if duration and durationIsValid(duration) then
|
if duration and durationIsValid(duration) then
|
||||||
result.duration = max( parseDuration(duration), 1 );
|
result.duration = max( parseDuration(duration), 1 );
|
||||||
|
Loading…
Reference in New Issue
Block a user