Update bad_turn.lua
put this back as error is expected. see why it is not being picked up
This commit is contained in:
parent
8838260d31
commit
93dc26aabc
@ -119,9 +119,9 @@ function process_way (profile, way, result)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function process_turn (profile, turn)
|
function process_turn (profile, turn)
|
||||||
--if (2 < nil) then
|
if (2 < nil) then
|
||||||
-- print("2 is less than nil")
|
print("2 is less than nil")
|
||||||
--end
|
end
|
||||||
|
|
||||||
if turn.is_u_turn then
|
if turn.is_u_turn then
|
||||||
turn.duration = turn.duration + profile.properties.u_turn_penalty
|
turn.duration = turn.duration + profile.properties.u_turn_penalty
|
||||||
|
Loading…
Reference in New Issue
Block a user