Fixes #737
This commit is contained in:
		
							parent
							
								
									9e75595754
								
							
						
					
					
						commit
						a25e4e1ed8
					
				| @ -130,8 +130,7 @@ function way_function (way) | |||||||
|        (speed_profile[man_made] ~= nil and speed_profile[man_made] > 0) |        (speed_profile[man_made] ~= nil and speed_profile[man_made] > 0) | ||||||
|     then |     then | ||||||
|       if durationIsValid(duration) then |       if durationIsValid(duration) then | ||||||
| 	    way.speed = parseDuration(duration) / math.max(1, numberOfNodesInWay-1); |         way.duration = math.max( parseDuration(duration), 1 ); | ||||||
|         way.is_duration_set = true; |  | ||||||
|       end |       end | ||||||
|       way.direction = Way.bidirectional; |       way.direction = Way.bidirectional; | ||||||
|       if speed_profile[route] ~= nil then |       if speed_profile[route] ~= nil then | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user