Update bad_turn.lua
This exception should be caught but it is not happeing in my runs. So just testing without it.
This commit is contained in:
parent
7eb952d1ce
commit
8838260d31
@ -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