Update bad_turn.lua

put this back as error is expected. see why it is not being picked up
This commit is contained in:
tombay 2024-08-27 11:52:47 +10:00 committed by GitHub
parent 8838260d31
commit 93dc26aabc
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