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:
tombay 2024-08-21 09:44:41 +10:00 committed by GitHub
parent 7eb952d1ce
commit 8838260d31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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