From 8838260d316981c66a7ad73aa4c4d8fd5928ea11 Mon Sep 17 00:00:00 2001 From: tombay Date: Wed, 21 Aug 2024 09:44:41 +1000 Subject: [PATCH] Update bad_turn.lua This exception should be caught but it is not happeing in my runs. So just testing without it. --- test/data/profiles/bad_turn.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/data/profiles/bad_turn.lua b/test/data/profiles/bad_turn.lua index 0fecb7d2d..a0cd5a1bf 100644 --- a/test/data/profiles/bad_turn.lua +++ b/test/data/profiles/bad_turn.lua @@ -119,9 +119,9 @@ function process_way (profile, way, result) end function process_turn (profile, turn) - if (2 < nil) then - print("2 is less than nil") - end + --if (2 < nil) then + -- print("2 is less than nil") + --end if turn.is_u_turn then turn.duration = turn.duration + profile.properties.u_turn_penalty